summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrView.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-03 00:36:33 +0900
committerMichele Calgaro <[email protected]>2023-12-04 14:19:15 +0900
commitfb6b4d204d1155fa3a1bc7a128873340db1524f7 (patch)
tree58fbd21cd52695207154b1b40d0c9d0f53db19b1 /kpresenter/KPrView.cpp
parentd7ae9fb514226c126e04cfe4f34800beb9f4ea19 (diff)
downloadkoffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.tar.gz
koffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kpresenter/KPrView.cpp')
-rw-r--r--kpresenter/KPrView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpresenter/KPrView.cpp b/kpresenter/KPrView.cpp
index dc746432..88d54ad6 100644
--- a/kpresenter/KPrView.cpp
+++ b/kpresenter/KPrView.cpp
@@ -822,7 +822,7 @@ void KPrView::savePicture( const TQString& oldName, KoPicture& picture)
TQFile file( url.path() );
if ( file.open( IO_ReadWrite ) )
{
- picture.save( TQT_TQIODEVICE(&file) );
+ picture.save( &file );
file.close();
}
else
@@ -841,7 +841,7 @@ void KPrView::savePicture( const TQString& oldName, KoPicture& picture)
TQFile file( tempFile.name() );
if ( file.open( IO_ReadWrite ) )
{
- picture.save( TQT_TQIODEVICE(&file) );
+ picture.save( &file );
file.close();
if ( !TDEIO::NetAccess::upload( tempFile.name(), url, this ) )
{