diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
| commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
| tree | e35fc60fd736c645d59f6408af032774ad8023d3 /lib/kofficecore/KoPictureImage.cpp | |
| parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
| download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip | |
Rename a number of old tq methods that are no longer tq specific
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 c0775ac74..b0b28ff36 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.tqdevice()->isExtDev() // we are printing + const bool scaleImage = painter.device()->isExtDev() // we are printing && ((width <= origSize.width()) || (height <= origSize.height())); if( scaleImage ) { |
