diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:36:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-05 11:33:58 +0900 |
commit | 9abcf51de91242d1ab70230ba46abd2108416edf (patch) | |
tree | b06138af56a2addecdb37e556deb89f4972d59b8 /lib/kotext | |
parent | 5761876d3a71e9b3c5a93b5b535b071d2240b08e (diff) | |
download | koffice-9abcf51de91242d1ab70230ba46abd2108416edf.tar.gz koffice-9abcf51de91242d1ab70230ba46abd2108416edf.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit fb6b4d204d1155fa3a1bc7a128873340db1524f7)
Diffstat (limited to 'lib/kotext')
-rw-r--r-- | lib/kotext/KoParagCounter.cpp | 2 | ||||
-rw-r--r-- | lib/kotext/KoParagLayout.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/kotext/KoParagCounter.cpp b/lib/kotext/KoParagCounter.cpp index 9810e8b0..6237bd1f 100644 --- a/lib/kotext/KoParagCounter.cpp +++ b/lib/kotext/KoParagCounter.cpp @@ -269,7 +269,7 @@ void KoParagCounter::saveOasis( KoGenStyle& listStyle, bool savingStyle ) const // Prepare a sub-xmlwriter for the list-level-style-* element TQBuffer buffer; buffer.open( IO_WriteOnly ); - KoXmlWriter listLevelWriter( TQT_TQIODEVICE(&buffer), 3 /*indentation*/ ); + KoXmlWriter listLevelWriter( &buffer, 3 /*indentation*/ ); const char* tagName = isBullet() ? "text:list-level-style-bullet" : "text:list-level-style-number"; listLevelWriter.startElement( tagName ); diff --git a/lib/kotext/KoParagLayout.cpp b/lib/kotext/KoParagLayout.cpp index 1978d88c..521a4499 100644 --- a/lib/kotext/KoParagLayout.cpp +++ b/lib/kotext/KoParagLayout.cpp @@ -843,7 +843,7 @@ void KoParagLayout::saveOasis( KoGenStyle& gs, KoSavingContext& context, bool sa TQBuffer buffer; buffer.open( IO_WriteOnly ); - KoXmlWriter tabsWriter( TQT_TQIODEVICE(&buffer), 4 ); // indent==4: root,autostyle,style,parag-props + KoXmlWriter tabsWriter( &buffer, 4 ); // indent==4: root,autostyle,style,parag-props tabsWriter.startElement( "style:tab-stops" ); KoTabulatorList::ConstIterator it = m_tabList.begin(); for ( ; it != m_tabList.end() ; it++ ) |