diff options
author | Mert Tumer <mert.tumer@collabora.com> | 2020-04-14 18:19:09 +0300 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2020-05-27 22:15:21 +0100 |
commit | 2267db07cdd258dc774271fc19e068562a944f6f (patch) | |
tree | 0eccd82c65e0b6a96158559c6ebd498130ac995e | |
parent | c24c7a846a2e1586004cef2d67d819d4cf79546e (diff) |
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@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 2f6cbb67099edde535a81e7b0a32c1418805d6d6)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92290
Tested-by: Jenkins
-rw-r--r-- | desktop/source/lib/init.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index b4eea5068bd4..fd37b16101b6 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -2654,6 +2654,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 26581dabbd35..940b8dddbdad 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1185,6 +1185,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; |