summaryrefslogtreecommitdiff
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-07-05 09:38:35 +0200
commitb5020e0aaba6b07b1c846df03d6d1bcb0b1b678b (patch)
tree00e09bec3812d4aefb49b8e57759e82db82558ec
parenta94216649b629dc466a2fb0aafc37bd612cf975d (diff)
lokit: scPrintTwipsMsgs: LOK_CALLBACK_CELL_CURSOR
Allow print twips coordinates in LOK_CALLBACK_CELL_CURSOR msg. Change-Id: Ib9de372db46db9d462983e15fb12d58624d066f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97962 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Dennis Francis <dennis.francis@collabora.com> (cherry picked from commit 679738b5e0da027d191457a3fa8bee20f83fe1fb) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97973 Tested-by: Jenkins
-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 7a569795b630..b6b3e634c902 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();
}