summaryrefslogtreecommitdiffstats
path: root/lib/kotext
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-03 00:36:33 +0900
committerMichele Calgaro <[email protected]>2023-12-05 11:33:58 +0900
commit9abcf51de91242d1ab70230ba46abd2108416edf (patch)
treeb06138af56a2addecdb37e556deb89f4972d59b8 /lib/kotext
parent5761876d3a71e9b3c5a93b5b535b071d2240b08e (diff)
downloadkoffice-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.cpp2
-rw-r--r--lib/kotext/KoParagLayout.cpp2
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++ )