[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - desktop/source sfx2/source

Henry Castro hcastro at collabora.com
Sun Jul 3 14:28:00 UTC 2016


 desktop/source/lib/init.cxx      |    5 ++++-
 sfx2/source/control/unoctitm.cxx |    5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

New commits:
commit 92c00125f7ea1dc203ffd03d6047eaccb8c8846e
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 32800b0..9eb9899 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -812,7 +812,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 d4a1cba..76b6c93 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1159,7 +1159,10 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe
              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