diff options
author | Michele Calgaro <[email protected]> | 2023-06-05 13:21:40 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-06-05 20:54:02 +0900 |
commit | 75cc9de8f47db776021b5e8153c930d9af2108b6 (patch) | |
tree | 05bbc91010d5cb7d9b7083f101ba885e32a46245 /kchart/kdchart/KDChartRingPainter.cpp | |
parent | f25aee7b805a903144ad05ef3e9bb70e6dbdb875 (diff) | |
download | koffice-75cc9de8f47db776021b5e8153c930d9af2108b6.tar.gz koffice-75cc9de8f47db776021b5e8153c930d9af2108b6.zip |
Drop use of COMPAT_TQT_VERSION define
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit fded56123903e0a8d9e076b1a6a9a52374c3649d)
Diffstat (limited to 'kchart/kdchart/KDChartRingPainter.cpp')
-rw-r--r-- | kchart/kdchart/KDChartRingPainter.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/kchart/kdchart/KDChartRingPainter.cpp b/kchart/kdchart/KDChartRingPainter.cpp index 43d7f1ab..d2fb3b1b 100644 --- a/kchart/kdchart/KDChartRingPainter.cpp +++ b/kchart/kdchart/KDChartRingPainter.cpp @@ -85,13 +85,7 @@ void KDChartRingPainter::paintData( TQPainter* painter, TQRect ourClipRect( _dataRect ); const TQWMatrix & world = painter->worldMatrix(); - ourClipRect = -#if COMPAT_TQT_VERSION >= 0x030000 - world.mapRect( ourClipRect ); -#else - world.map( ourClipRect ); -#endif - + ourClipRect = world.mapRect( ourClipRect ); ourClipRect.setTop(ourClipRect.top()-1); ourClipRect.setLeft(ourClipRect.left()-1); ourClipRect.setBottom(ourClipRect.bottom()+1); |