[Libreoffice-commits] core.git: desktop/source include/comphelper
Dennis Francis (via logerrit)
logerrit at kemper.freedesktop.org
Sat Jul 4 10:05:33 UTC 2020
desktop/source/lib/init.cxx | 3 +++
include/comphelper/lok.hxx | 1 +
2 files changed, 4 insertions(+)
New commits:
commit b6d8dd62dd0892b9a2eeac68fe2e2ee366d59057
Author: Dennis Francis <dennis.francis at collabora.com>
AuthorDate: Tue May 19 13:37:04 2020 +0530
Commit: Dennis Francis <dennis.francis at collabora.com>
CommitDate: Sat Jul 4 12:04:55 2020 +0200
lokit: Introduce new flag "sc_print_twips_msgs"...
for conditioning all changes needed to allow calc messages in print
twips coordinates.
Change-Id: I407b4d4d4e0a1dfb2c4339cafa10b368b437c82d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96904
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Dennis Francis <dennis.francis at collabora.com>
(cherry picked from commit 8f382dcee04588ac1e95f03f55df2b87883ce259)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96967
Tested-by: Jenkins
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index bc6a0e18ed92..e20fc2f5e37f 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -6052,6 +6052,9 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
else if (it == "sc_no_grid_bg")
comphelper::LibreOfficeKit::setCompatFlag(
comphelper::LibreOfficeKit::Compat::scNoGridBackground);
+ else if (it == "sc_print_twips_msgs")
+ comphelper::LibreOfficeKit::setCompatFlag(
+ comphelper::LibreOfficeKit::Compat::scPrintTwipsMsgs);
}
}
diff --git a/include/comphelper/lok.hxx b/include/comphelper/lok.hxx
index 88901a24d991..dfbc1a2ce6c0 100644
--- a/include/comphelper/lok.hxx
+++ b/include/comphelper/lok.hxx
@@ -86,6 +86,7 @@ enum Compat : sal_uInt32
{
none = 0,
scNoGridBackground = 1,
+ scPrintTwipsMsgs = 2,
};
/// Set compatibility flags
COMPHELPER_DLLPUBLIC void setCompatFlag(Compat flag);
More information about the Libreoffice-commits
mailing list