Commits

Anonymous committed 34d9e18

vcl122: remove incorrect assertion

Comments (0)

Files changed (1)

vcl/source/gdi/outdev2.cxx

 
 void OutputDevice::DrawImage( const Point& rPos, const Image& rImage, sal_uInt16 nStyle )
 {
-	DBG_ASSERT( GetOutDevType() != OUTDEV_PRINTER, "DrawImage(): Images can't be drawn on any mprinter" );
-	
 	if( !rImage.mpImplData || ImplIsRecordLayout() )
 		return;
 	
 void OutputDevice::DrawImage( const Point& rPos, const Size& rSize,
 							  const Image& rImage, sal_uInt16 nStyle )
 {
-	DBG_ASSERT( GetOutDevType() != OUTDEV_PRINTER, "DrawImage(): Images can't be drawn on any mprinter" );
-
 	if( rImage.mpImplData && !ImplIsRecordLayout() )
 	{
 		switch( rImage.mpImplData->meType )