summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2018-09-13 15:26:31 +0200
committerMichael Meeks <michael.meeks@collabora.com>2019-09-24 21:16:15 +0200
commit8d0869246db0b080bf45f077c484618b7c82253f (patch)
tree124ff8f9ad129ccd8158dfe7d7413fea5a105ad8 /sc/source/ui/miscdlgs
parentb3a9fd1c51b4d0c2a8146c250e5571cc38eae9e6 (diff)
Add reference marks callback
Change-Id: Ic749e138356392b0c327a30cff28055f06e23e2e Reviewed-on: https://gerrit.libreoffice.org/79464 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sc/source/ui/miscdlgs')
-rw-r--r--sc/source/ui/miscdlgs/anyrefdg.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index b9e5b271006e..3a21ac941788 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -37,6 +37,8 @@
#include <inputopt.hxx>
#include <rangeutl.hxx>
#include <tokenarray.hxx>
+#include <comphelper/lok.hxx>
+#include <output.hxx>
#include <memory>
@@ -241,6 +243,13 @@ void ScFormulaReferenceHelper::HideReference( bool bDoneRefMode )
if ( bDoneRefMode )
pTabViewShell->DoneRefMode();
pTabViewShell->ClearHighlightRanges();
+
+ if( comphelper::LibreOfficeKit::isActive() )
+ {
+ // Clear
+ std::vector<ReferenceMark> aReferenceMarks;
+ ScInputHandler::SendReferenceMarks( pTabViewShell, aReferenceMarks );
+ }
}
m_bHighlightRef=false;
}