summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoTemplates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoTemplates.cpp')
-rw-r--r--lib/kofficecore/KoTemplates.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficecore/KoTemplates.cpp b/lib/kofficecore/KoTemplates.cpp
index 2d0ba5298..7e86257b4 100644
--- a/lib/kofficecore/KoTemplates.cpp
+++ b/lib/kofficecore/KoTemplates.cpp
@@ -61,7 +61,7 @@ const TQPixmap &KoTemplate::loadPicture( TDEInstance* instance ) {
}
const int maxHeightWidth = 128; // ### TODO: some people would surely like to have 128x128
if (img.width() > maxHeightWidth || img.height() > maxHeightWidth) {
- img = img.smoothScale( maxHeightWidth, maxHeightWidth, TQ_ScaleMax );
+ img = img.smoothScale( maxHeightWidth, maxHeightWidth, TQImage::ScaleMax );
}
m_pixmap.convertFromImage(img);
return m_pixmap;