summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrTextObject.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-06 21:16:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-06 21:16:46 +0900
commit4afaa31411ecdf0779d48662cf78d5cdc593ec53 (patch)
tree60538645e888a231882576e8ba10307f23c0ec7f /kpresenter/KPrTextObject.cpp
parent3a121c599732a399265a02efed9f8b60d8df7603 (diff)
downloadkoffice-4afaa31411ecdf0779d48662cf78d5cdc593ec53.tar.gz
koffice-4afaa31411ecdf0779d48662cf78d5cdc593ec53.zip
Remove use of KDE_IS_VERSION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kpresenter/KPrTextObject.cpp')
-rw-r--r--kpresenter/KPrTextObject.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/kpresenter/KPrTextObject.cpp b/kpresenter/KPrTextObject.cpp
index b160fd527..ebe4c0a90 100644
--- a/kpresenter/KPrTextObject.cpp
+++ b/kpresenter/KPrTextObject.cpp
@@ -1488,13 +1488,11 @@ void KPrTextObject::highlightPortion( KoTextParag * parag, int index, int length
(expose.top()+expose.bottom()) / 2,
(expose.right()-expose.left()) / 2, // margin = half-width of the rect
(expose.bottom()-expose.top()) / 2);
-#if KDE_IS_VERSION(3,1,90)
if ( dialog ) {
TQRect globalRect( expose );
globalRect.moveTopLeft( canvas->mapToGlobal( globalRect.topLeft() ) );
KDialog::avoidArea( dialog, globalRect );
}
-#endif
}
}