[Libreoffice-commits] core.git: desktop/source sfx2/source
Henry Castro
hcastro at collabora.com
Sun Jul 3 14:20:32 UTC 2016
desktop/source/lib/init.cxx | 5 ++++-
sfx2/source/control/unoctitm.cxx | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
New commits:
commit bad68fd0b4a40062990c96a1a3f8d7a31bd84180
Author: Henry Castro <hcastro at collabora.com>
Date: Sun Jul 3 09:40:50 2016 -0400
sd: add status bar UNO commands
Change-Id: I7da065edf76ccdbf9e410756c4d1fe81462975ed
Reviewed-on: https://gerrit.libreoffice.org/26881
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Henry Castro <hcastro at collabora.com>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 60553a6..7048da7 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1006,7 +1006,10 @@ static void doc_iniUnoCommands ()
OUString(".uno:StatePageNumber"),
OUString(".uno:StateWordCount"),
OUString(".uno:PageStyleName"),
- OUString(".uno:SelectionMode")
+ OUString(".uno:SelectionMode"),
+ OUString(".uno:PageStatus"),
+ OUString(".uno:LayoutStatus"),
+ OUString(".uno:Context")
};
util::URL aCommandURL;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 934c6b2..116d7b6 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1039,7 +1039,10 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
aEvent.FeatureURL.Path == "StateTableCell" ||
aEvent.FeatureURL.Path == "StatePageNumber" ||
aEvent.FeatureURL.Path == "StateWordCount" ||
- aEvent.FeatureURL.Path == "PageStyleName")
+ aEvent.FeatureURL.Path == "PageStyleName" ||
+ aEvent.FeatureURL.Path == "PageStatus" ||
+ aEvent.FeatureURL.Path == "LayoutStatus" ||
+ aEvent.FeatureURL.Path == "Context")
{
OUString aString;
More information about the Libreoffice-commits
mailing list