diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:36:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-04 14:19:15 +0900 |
| commit | fb6b4d204d1155fa3a1bc7a128873340db1524f7 (patch) | |
| tree | 58fbd21cd52695207154b1b40d0c9d0f53db19b1 /kword/KWView.cpp | |
| parent | d7ae9fb514226c126e04cfe4f34800beb9f4ea19 (diff) | |
| download | koffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.tar.gz koffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.zip | |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kword/KWView.cpp')
| -rw-r--r-- | kword/KWView.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kword/KWView.cpp b/kword/KWView.cpp index 633e0f3d4..de64037dd 100644 --- a/kword/KWView.cpp +++ b/kword/KWView.cpp @@ -2435,7 +2435,7 @@ void KWView::pasteData( TQMimeSource* data, bool drop ) if( !arr.isEmpty() ) { TQBuffer buffer( arr ); - KoStore * store = KoStore::createStore( TQT_TQIODEVICE(&buffer), KoStore::Read ); + KoStore * store = KoStore::createStore( &buffer, KoStore::Read ); KWOasisLoader oasisLoader( m_doc ); TQValueList<KWFrame *> frames = oasisLoader.insertOasisData( store, 0 /* no cursor */ ); delete store; @@ -6118,7 +6118,7 @@ void KWView::savePicture() TQFile file( url.path() ); if ( file.open( IO_ReadWrite ) ) { - picture.save( TQT_TQIODEVICE(&file) ); + picture.save( &file ); file.close(); } else @@ -6137,7 +6137,7 @@ void KWView::savePicture() 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 ) ) { |
