desktop/source/lib/init.cxx | 3 +++ include/comphelper/lok.hxx | 1 + 2 files changed, 4 insertions(+)
New commits: commit 8f382dcee04588ac1e95f03f55df2b87883ce259 Author: Dennis Francis <dennis.fran...@collabora.com> AuthorDate: Tue May 19 13:37:04 2020 +0530 Commit: Dennis Francis <dennis.fran...@collabora.com> CommitDate: Mon Jun 22 22:34:24 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 <jenkinscollaboraoff...@gmail.com> Reviewed-by: Dennis Francis <dennis.fran...@collabora.com> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index b1732dc1bbea..0c171784d40f 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -5998,6 +5998,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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits