cool#9174 - Enable .uno:ChangeBezier

This allow Convert to Curve in COOL

Signed-off-by: Hubert Figuière <hub@collabora.com>
Change-Id: Id1aa0bc68238ac29221edb1c1ec7dda6e16ce103
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168170
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit c5a7ff366fd9094c3ee1aba4c016b59c5635ea9b)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168194
Tested-by: Jenkins
This commit is contained in:
Hubert Figuière
2024-05-28 17:08:07 -04:00
committed by Caolán McNamara
parent cc94f40285
commit f67e7fc5c7
2 changed files with 3 additions and 1 deletions

View File

@@ -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;

View File

@@ -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"));
}