summaryrefslogtreecommitdiffstats
path: root/kword/KWDocument.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 /kword/KWDocument.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 'kword/KWDocument.cpp')
-rw-r--r--kword/KWDocument.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kword/KWDocument.cpp b/kword/KWDocument.cpp
index 0453407a..5a6e886e 100644
--- a/kword/KWDocument.cpp
+++ b/kword/KWDocument.cpp
@@ -2843,7 +2843,7 @@ bool KWDocument::saveOasisHelper( KoStore* store, KoXmlWriter* manifestWriter, S
// storing the content into a buffer.
TQBuffer buffer( headerFooterContent );
buffer.open( IO_WriteOnly );
- KoXmlWriter headerFooterTmpWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
+ KoXmlWriter headerFooterTmpWriter( &buffer ); // TODO pass indentation level
// The order we write out header, header-left, etc. is important. So, we go here
// the dirty way to collect them first and then flush them ordered out.
@@ -3021,7 +3021,7 @@ TQDragObject* KWDocument::dragSelectedPrivate( TQWidget *parent, const TQValueLi
// We'll create a store (ZIP format) in memory
TQBuffer buffer;
TQCString mimeType = KWOasisSaver::selectionMimeType();
- KoStore* store = KoStore::createStore( TQT_TQIODEVICE(&buffer), KoStore::Write, mimeType );
+ KoStore* store = KoStore::createStore( &buffer, KoStore::Write, mimeType );
Q_ASSERT( store );
Q_ASSERT( !store->bad() );
KoOasisStore oasisStore( store );
@@ -3189,7 +3189,7 @@ void KWDocument::saveOasisDocumentStyles( KoStore* store, KoGenStyles& mainStyle
TQBuffer buffer;
buffer.open( IO_WriteOnly );
- KoXmlWriter footnoteSepTmpWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
+ KoXmlWriter footnoteSepTmpWriter( &buffer ); // TODO pass indentation level
footnoteSepTmpWriter.startElement( "style:footnote-sep" );
TQString tmp;
switch( m_footNoteSeparatorLinePos )
@@ -3237,7 +3237,7 @@ void KWDocument::saveOasisDocumentStyles( KoStore* store, KoGenStyles& mainStyle
if ( m_pageColumns.columns > 1 ) {
buffer.setBuffer(TQByteArray()); // clear data
buffer.open( IO_WriteOnly );
- KoXmlWriter columnsTmpWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
+ KoXmlWriter columnsTmpWriter( &buffer ); // TODO pass indentation level
columnsTmpWriter.startElement( "style:columns" );
columnsTmpWriter.addAttribute( "fo:column-count", m_pageColumns.columns );
columnsTmpWriter.addAttributePt( "fo:column-gap", m_pageColumns.ptColumnSpacing );