From f67e7fc5c71308e1866c78a1c48c9a6c070886cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hubert=20Figui=C3=A8re?= Date: Tue, 28 May 2024 17:08:07 -0400 Subject: [PATCH] cool#9174 - Enable .uno:ChangeBezier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allow Convert to Curve in COOL Signed-off-by: Hubert Figuière Change-Id: Id1aa0bc68238ac29221edb1c1ec7dda6e16ce103 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168170 Reviewed-by: Caolán McNamara Tested-by: Jenkins CollaboraOffice (cherry picked from commit c5a7ff366fd9094c3ee1aba4c016b59c5635ea9b) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168194 Tested-by: Jenkins --- desktop/source/lib/init.cxx | 1 + sfx2/source/control/unoctitm.cxx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 4e484cf71a34..464c2498cf9f 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3853,6 +3853,7 @@ static void doc_iniUnoCommands () u".uno:CellProtection"_ustr, u".uno:MoveKeepInsertMode"_ustr, u".uno:ToggleSheetGrid"_ustr, + u".uno:ChangeBezier"_ustr, }; util::URL aCommandURL; diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index b267c6157b57..6dd55fc06a2d 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1117,7 +1117,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra aEvent.FeatureURL.Path == "InsertDateContentControl" || aEvent.FeatureURL.Path == "InsertDropdownContentControl" || aEvent.FeatureURL.Path == "InsertPlainTextContentControl" || - aEvent.FeatureURL.Path == "InsertPictureContentControl") + aEvent.FeatureURL.Path == "InsertPictureContentControl" || + aEvent.FeatureURL.Path == "ChangeBezier") { aBuffer.append(aEvent.IsEnabled ? std::u16string_view(u"enabled") : std::u16string_view(u"disabled")); }