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

Miklos Vajna vmiklos at collabora.co.uk
Tue Jan 19 07:54:43 PST 2016


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

New commits:
commit 3bdc59bcde10bb4cc676bf7ed13bab2738ad41dc
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Tue Jan 19 15:18:52 2016 +0100

    LOK: include ModifiedStatus in CALLBACK_STATE_CHANGED
    
    Change-Id: Ic44a9266a67bfad8b0490a8acb4a419af99ea42c
    (cherry picked from commit abbfbb4d35d6fa9edbb8f331a9d9503183eb0356)

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index f8d37ef..cbce5cc 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -692,7 +692,8 @@ static void doc_iniUnoCommands ()
         OUString(".uno:SuperScript"),
         OUString(".uno:Strikeout"),
         OUString(".uno:StyleApply"),
-        OUString(".uno:Underline")
+        OUString(".uno:Underline"),
+        OUString(".uno:ModifiedStatus")
     };
 
     util::URL aCommandURL;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index ddc1596..a189a5f 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1079,7 +1079,8 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe
         aEvent.FeatureURL.Path == "SubScript" ||
         aEvent.FeatureURL.Path == "SuperScript" ||
         aEvent.FeatureURL.Path == "Strikeout" ||
-        aEvent.FeatureURL.Path == "Underline")
+        aEvent.FeatureURL.Path == "Underline" ||
+        aEvent.FeatureURL.Path == "ModifiedStatus")
     {
         bool bTemp = false;
         aEvent.State >>= bTemp;


More information about the Libreoffice-commits mailing list