diff options
Diffstat (limited to 'lib/kofficecore/KoPictureEps.cpp')
| -rw-r--r-- | lib/kofficecore/KoPictureEps.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficecore/KoPictureEps.cpp b/lib/kofficecore/KoPictureEps.cpp index 236b08d78..87547bdff 100644 --- a/lib/kofficecore/KoPictureEps.cpp +++ b/lib/kofficecore/KoPictureEps.cpp @@ -244,7 +244,7 @@ void KoPictureEps::draw(TQPainter& painter, int x, int y, int width, int height,      TQPaintDeviceMetrics metrics (painter.device());      kdDebug(30003) << "Metrics: X: " << metrics.logicalDpiX() << " x Y: " << metrics.logicalDpiX() << " (in KoPictureEps::draw)" << endl; -    if ( painter.tqdevice()->isExtDev() ) // Is it an external device (i.e. printer) +    if ( painter.device()->isExtDev() ) // Is it an external device (i.e. printer)      {          kdDebug(30003) << "Drawing for a printer (in KoPictureEps::draw)" << endl;          // For printing, always re-sample the image, as a printer has never the same resolution than a display.  | 
