diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2023-07-07 13:32:34 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2023-07-07 15:45:09 +0200 |
commit | 04e90103b9a031af4073967228c6ccfc59438ec0 (patch) | |
tree | 1d5c11e4963d294d1984b5e5844558d820a9eabb /include | |
parent | efaa065eb7053954242c83760f897e7dba2e9fe8 (diff) |
tdf#152484 cui,sw: if decorative is enabled, disable title/description
... in sw Frame Properties dialog and cui SvxObjectTitleDescDialog.
Reportedly Word behaves weirdly if decorative is set and a description
exists at the same time.
Change-Id: I9fa149127bacc3567486334a14f42b05871a629f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154165
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/cui/dlgname.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cui/dlgname.hxx b/include/cui/dlgname.hxx index 2ca8a8a55e29..9083177ee980 100644 --- a/include/cui/dlgname.hxx +++ b/include/cui/dlgname.hxx @@ -105,13 +105,17 @@ class SvxObjectTitleDescDialog final : public weld::GenericDialogController { private: // title + std::unique_ptr<weld::Label> m_xTitleFT; std::unique_ptr<weld::Entry> m_xEdtTitle; // description + std::unique_ptr<weld::Label> m_xDescriptionFT; std::unique_ptr<weld::TextView> m_xEdtDescription; std::unique_ptr<weld::CheckButton> m_xDecorativeCB; + DECL_LINK(DecorativeHdl, weld::Toggleable&, void); + public: // constructor SvxObjectTitleDescDialog(weld::Window* pWindow, const OUString& rTitle, const OUString& rDesc, |