summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/gridwin.cxx
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2020-05-24 12:50:16 +0530
committerDennis Francis <dennis.francis@collabora.com>2020-05-25 00:39:59 +0530
commit6624b551966f47046cac46644427c7271af60a93 (patch)
treeddd02ccef003d9e147c763921f58b2e6da59e7c5 /sc/source/ui/view/gridwin.cxx
parent314294b923d55fb6b0b6e2755cf4b13657a04ba2 (diff)
lokit: scPrintTwipsMsgs: LOK_CALLBACK_CELL_CURSOR
Allow print twips coordinates in LOK_CALLBACK_CELL_CURSOR msg. Change-Id: Ib9de372db46db9d462983e15fb12d58624d066f5
Diffstat (limited to 'sc/source/ui/view/gridwin.cxx')
-rw-r--r--sc/source/ui/view/gridwin.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index e88027b6d754..b1da568c3128 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5727,6 +5727,10 @@ OString ScGridWindow::getCellCursor() const
if (!mpOOCursors)
return "EMPTY";
+ if (comphelper::LibreOfficeKit::isCompatFlagSet(
+ comphelper::LibreOfficeKit::Compat::scPrintTwipsMsgs))
+ return pViewData->describeCellCursorInPrintTwips();
+
return pViewData->describeCellCursor();
}