[Libreoffice-commits] core.git: desktop/source sfx2/source
Jan Holesovsky
kendy at collabora.com
Thu Jan 25 09:09:20 UTC 2018
desktop/source/lib/init.cxx | 1 +
sfx2/source/control/unoctitm.cxx | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit dd42329b4a204d9d9dcac102095f144ea3eca791
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/48534
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 381e727ee954..dfff8646fef6 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1762,6 +1762,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 2193914465f2..894b88f79dbd 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1092,7 +1092,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