[Libreoffice-commits] core.git: desktop/source sfx2/source

Mert Tumer (via logerrit) logerrit at kemper.freedesktop.org
Wed Apr 15 21:20:39 UTC 2020


 desktop/source/lib/init.cxx      |    1 +
 sfx2/source/control/unoctitm.cxx |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit df619066c1c20d757cb6d2a5b29a566787b9173f
Author:     Mert Tumer <mert.tumer at collabora.com>
AuthorDate: Tue Apr 14 18:19:09 2020 +0300
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Apr 15 23:20:06 2020 +0200

    send state changes of .uno:NumberFormatDecimal command to LOK
    
    Change-Id: I7872c0a0c123865c77d3aa8937775116368f1ffa
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92203
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    (cherry picked from commit 2f6cbb67099edde535a81e7b0a32c1418805d6d6)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92290
    Tested-by: Jenkins

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 8f42bd2883a4..b8228bfe8639 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2647,6 +2647,7 @@ static void doc_iniUnoCommands ()
         OUString(".uno:ToggleMergeCells"),
         OUString(".uno:NumberFormatCurrency"),
         OUString(".uno:NumberFormatPercent"),
+        OUString(".uno:NumberFormatDecimal"),
         OUString(".uno:NumberFormatDate"),
         OUString(".uno:FrameLineColor"),
         OUString(".uno:SortAscending"),
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index d6e6c8673e38..9d4bc6612be0 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1153,6 +1153,7 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
              aEvent.FeatureURL.Path == "WrapText" ||
              aEvent.FeatureURL.Path == "NumberFormatCurrency" ||
              aEvent.FeatureURL.Path == "NumberFormatPercent" ||
+             aEvent.FeatureURL.Path == "NumberFormatDecimal" ||
              aEvent.FeatureURL.Path == "NumberFormatDate")
     {
         bool aBool;


More information about the Libreoffice-commits mailing list