summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/KDXMLTools.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-06-05 13:21:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-06-05 20:54:02 +0900
commit75cc9de8f47db776021b5e8153c930d9af2108b6 (patch)
tree05bbc91010d5cb7d9b7083f101ba885e32a46245 /kchart/kdchart/KDXMLTools.cpp
parentf25aee7b805a903144ad05ef3e9bb70e6dbdb875 (diff)
downloadkoffice-75cc9de8.tar.gz
koffice-75cc9de8.zip
Drop use of COMPAT_TQT_VERSION define
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fded56123903e0a8d9e076b1a6a9a52374c3649d)
Diffstat (limited to 'kchart/kdchart/KDXMLTools.cpp')
-rw-r--r--kchart/kdchart/KDXMLTools.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/kchart/kdchart/KDXMLTools.cpp b/kchart/kdchart/KDXMLTools.cpp
index d0060ef39..0d3e199f4 100644
--- a/kchart/kdchart/KDXMLTools.cpp
+++ b/kchart/kdchart/KDXMLTools.cpp
@@ -222,10 +222,6 @@ namespace KDXML {
createIntNode( doc, fontElement, "PointSize", font.pointSize() );
createIntNode( doc, fontElement, "Weight", font.weight() );
createBoolNode( doc, fontElement, "Italic", font.italic() );
-#if COMPAT_TQT_VERSION < 0x030000
- // TQt 3 handles the charset internally.
- createIntNode( doc, fontElement, "CharSet", font.charSet() );
-#endif
}
@@ -614,10 +610,6 @@ namespace KDXML {
font.setPointSize( pointSize );
font.setWeight( weight );
font.setItalic( italic );
-#if COMPAT_TQT_VERSION < 0x030000
- // TQt 3 handles charsets internally.
- font.setCharSet( (TQFont::CharSet)charSet );
-#endif
}
return ok;