summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrView.cpp
diff options
context:
space:
mode:
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 ) )
{