summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/svdraw/svdview.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx
index bb677b7707e6..2c784b6a6e2e 100644
--- a/svx/source/svdraw/svdview.cxx
+++ b/svx/source/svdraw/svdview.cxx
@@ -56,6 +56,7 @@
#include <svx/sdr/contact/objectcontactofpageview.hxx>
#include <sal/log.hxx>
#include <vcl/ptrstyle.hxx>
+#include <comphelper/lok.hxx>
SdrViewEvent::SdrViewEvent()
@@ -385,7 +386,9 @@ SdrHitKind SdrView::PickAnything(const Point& rLogicPos, SdrViewEvent& rVEvt) co
// for e.g. URL links when hoovering and clicking
// them will not work. Tried several other changes,
// but this one safely keeps existing behaviour as-is.
- eHit = SdrHitKind::UnmarkedObject;
+ // Except for the LOK. LOK doesn't have hoovering popup
+ // feature.
+ eHit = comphelper::LibreOfficeKit::isActive() ? SdrHitKind::TextEditObj : SdrHitKind::UnmarkedObject;
break;
default:
break;