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-05 11:33:58 +0900 |
| commit | 9abcf51de91242d1ab70230ba46abd2108416edf (patch) | |
| tree | b06138af56a2addecdb37e556deb89f4972d59b8 /kpresenter/KPrPage.cpp | |
| parent | 5761876d3a71e9b3c5a93b5b535b071d2240b08e (diff) | |
| download | koffice-9abcf51de91242d1ab70230ba46abd2108416edf.tar.gz koffice-9abcf51de91242d1ab70230ba46abd2108416edf.zip | |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb6b4d204d1155fa3a1bc7a128873340db1524f7)
Diffstat (limited to 'kpresenter/KPrPage.cpp')
| -rw-r--r-- | kpresenter/KPrPage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kpresenter/KPrPage.cpp b/kpresenter/KPrPage.cpp index 57627b99c..1e915d408 100644 --- a/kpresenter/KPrPage.cpp +++ b/kpresenter/KPrPage.cpp @@ -130,7 +130,7 @@ void KPrPage::saveOasisObject( KoStore *store, KoXmlWriter &xmlWriter, KoSavingC KTempFile animationTmpFile; animationTmpFile.setAutoDelete( true ); TQFile* tmpFile = animationTmpFile.file(); - KoXmlWriter animationTmpWriter( TQT_TQIODEVICE(tmpFile) ); + KoXmlWriter animationTmpWriter( tmpFile ); lstMap listObjectAnimation; TQPtrListIterator<KPrObject> it( m_objectList ); for ( ; it.current() ; ++it ) @@ -228,7 +228,7 @@ void KPrPage::saveOasisObject( KoStore *store, KoXmlWriter &xmlWriter, KoSavingC } animationTmpWriter.endElement();//close "presentation:animations" tmpFile->close(); - xmlWriter.addCompleteElement( TQT_TQIODEVICE(tmpFile) ); + xmlWriter.addCompleteElement( tmpFile ); } else @@ -626,7 +626,7 @@ TQString KPrPage::saveOasisPageStyle( KoStore *, KoGenStyles& mainStyles ) const { TQBuffer buffer; buffer.open( IO_WriteOnly ); - KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level + KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level elementWriter.startElement( "presentation:sound" ); elementWriter.addAttribute( "xlink:href", m_soundFileName ); elementWriter.addAttribute( "xlink:type", "simple" ); @@ -1006,7 +1006,7 @@ void KPrPage::pasteObjs( const TQByteArray & data,int nbCopy, double angle, if ( !data.size() ) return; TQBuffer buffer( data ); - KoStore* store = KoStore::createStore( TQT_TQIODEVICE(&buffer), KoStore::Read ); + KoStore* store = KoStore::createStore( &buffer, KoStore::Read ); int nbNewObject = -1 ; KMacroCommand *macro = 0L; if ( !store->bad() ) |
