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

Jan Holesovsky kendy at collabora.com
Wed Jan 24 19:49:43 UTC 2018


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

New commits:
commit 10c55f5c73f91ed56f3eae7952d1fff14039c3ca
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed Jan 24 20:07:40 2018 +0100

    lok: Send the enabled / disabled state of .uno:TransformDialog.
    
    Change-Id: If2d8e0da6c289deb65dc8a6b38a21dfd5bbfc1bd
    Reviewed-on: https://gerrit.libreoffice.org/48535
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 6961cca8e29c..873ee9e85443 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1772,6 +1772,7 @@ static void doc_iniUnoCommands ()
         OUString(".uno:OutlineBullet"),
         OUString(".uno:InsertIndexesEntry"),
         OUString(".uno:DocumentRepair"),
+        OUString(".uno:TransformDialog"),
         OUString(".uno:InsertPageHeader"),
         OUString(".uno:InsertPageFooter")
     };
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index bb90866246e9..b74f971d6a07 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1081,7 +1081,8 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
              aEvent.FeatureURL.Path == "FontDialog" ||
              aEvent.FeatureURL.Path == "ParagraphDialog" ||
              aEvent.FeatureURL.Path == "OutlineBullet" ||
-             aEvent.FeatureURL.Path == "InsertIndexesEntry")
+             aEvent.FeatureURL.Path == "InsertIndexesEntry" ||
+             aEvent.FeatureURL.Path == "TransformDialog")
 
     {
         aBuffer.append(aEvent.IsEnabled ? OUString("enabled") : OUString("disabled"));


More information about the Libreoffice-commits mailing list