diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-05 13:21:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-05 20:54:02 +0900 |
commit | 75cc9de8f47db776021b5e8153c930d9af2108b6 (patch) | |
tree | 05bbc91010d5cb7d9b7083f101ba885e32a46245 /kchart/kdchart/KDXMLTools.cpp | |
parent | f25aee7b805a903144ad05ef3e9bb70e6dbdb875 (diff) | |
download | koffice-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.cpp | 8 |
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; |