summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoOasisStyles.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:36:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-04 14:19:15 +0900
commitfb6b4d204d1155fa3a1bc7a128873340db1524f7 (patch)
tree58fbd21cd52695207154b1b40d0c9d0f53db19b1 /lib/kofficecore/KoOasisStyles.cpp
parentd7ae9fb514226c126e04cfe4f34800beb9f4ea19 (diff)
downloadkoffice-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 'lib/kofficecore/KoOasisStyles.cpp')
-rw-r--r--lib/kofficecore/KoOasisStyles.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kofficecore/KoOasisStyles.cpp b/lib/kofficecore/KoOasisStyles.cpp
index a5d34c0bf..db003c3e3 100644
--- a/lib/kofficecore/KoOasisStyles.cpp
+++ b/lib/kofficecore/KoOasisStyles.cpp
@@ -664,7 +664,7 @@ TQString KoOasisStyles::saveOasisTimeStyle( KoGenStyles &mainStyles, const TQStr
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_TIME );
TQBuffer buffer;
buffer.open( IO_WriteOnly );
- KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
+ KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
TQString text;
if ( klocaleFormat )
{
@@ -819,7 +819,7 @@ TQString KoOasisStyles::saveOasisDateStyle( KoGenStyles &mainStyles, const TQStr
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_DATE );
TQBuffer buffer;
buffer.open( IO_WriteOnly );
- KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
+ KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
TQString text;
if ( klocaleFormat )
{
@@ -993,7 +993,7 @@ TQString KoOasisStyles::saveOasisFractionStyle( KoGenStyles &mainStyles, const T
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_FRACTION );
TQBuffer buffer;
buffer.open( IO_WriteOnly );
- KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
+ KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
TQString text;
int integer = 0;
int numerator = 0;
@@ -1057,7 +1057,7 @@ TQString KoOasisStyles::saveOasisNumberStyle( KoGenStyles &mainStyles, const TQS
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_NUMBER );
TQBuffer buffer;
buffer.open( IO_WriteOnly );
- KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
+ KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
TQString text;
int decimalplaces = 0;
int integerdigits = 0;
@@ -1106,7 +1106,7 @@ TQString KoOasisStyles::saveOasisPercentageStyle( KoGenStyles &mainStyles, const
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_PERCENTAGE );
TQBuffer buffer;
buffer.open( IO_WriteOnly );
- KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
+ KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
TQString text;
int decimalplaces = 0;
int integerdigits = 0;
@@ -1160,7 +1160,7 @@ TQString KoOasisStyles::saveOasisScientificStyle( KoGenStyles &mainStyles, const
int decimalplace = 0;
int integerdigits = 0;
int exponentdigits = 0;
- KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
+ KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
TQString text;
bool beforeSeparator = true;
bool exponential = false;
@@ -1236,7 +1236,7 @@ TQString KoOasisStyles::saveOasisCurrencyStyle( KoGenStyles &mainStyles,
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_CURRENCY );
TQBuffer buffer;
buffer.open( IO_WriteOnly );
- KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
+ KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
TQString text;
int decimalplaces = 0;
int integerdigits = 0;
@@ -1292,7 +1292,7 @@ TQString KoOasisStyles::saveOasisTextStyle( KoGenStyles &mainStyles, const TQStr
KoGenStyle currentStyle( KoGenStyle::STYLE_NUMERIC_TEXT );
TQBuffer buffer;
buffer.open( IO_WriteOnly );
- KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level
+ KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level
TQString text;
do
{