diff options
Diffstat (limited to 'lib/kofficecore/KoPictureImage.cpp')
-rw-r--r-- | lib/kofficecore/KoPictureImage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficecore/KoPictureImage.cpp b/lib/kofficecore/KoPictureImage.cpp index b0b28ff3..c0775ac7 100644 --- a/lib/kofficecore/KoPictureImage.cpp +++ b/lib/kofficecore/KoPictureImage.cpp @@ -95,7 +95,7 @@ void KoPictureImage::draw(TQPainter& painter, int x, int y, int width, int heigh if ( !width || !height ) return; TQSize origSize = getOriginalSize(); - const bool scaleImage = painter.device()->isExtDev() // we are printing + const bool scaleImage = painter.tqdevice()->isExtDev() // we are printing && ((width <= origSize.width()) || (height <= origSize.height())); if( scaleImage ) { |