sd/source/ui/view/drviewsf.cxx | 15 --------------- 1 file changed, 15 deletions(-)
New commits: commit 62804da3c0ab9443cf36f2e02387a2e9c272d5dc Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Wed Aug 30 09:15:56 2023 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Wed Aug 30 11:16:05 2023 +0200 sd: remove condition to only show ThemeDialog in master view Change-Id: I09ce07f7b520688aa54dd30107b5ab2218b12894 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156277 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sd/source/ui/view/drviewsf.cxx b/sd/source/ui/view/drviewsf.cxx index e25ebed52dd3..8f75b9f8081c 100644 --- a/sd/source/ui/view/drviewsf.cxx +++ b/sd/source/ui/view/drviewsf.cxx @@ -469,21 +469,6 @@ void DrawViewShell::GetAttrState( SfxItemSet& rSet ) } break; - case SID_THEME_DIALOG: - { - bool bDisable = true; - SdrPageView* pPageView = mpDrawView->GetSdrPageView(); - if (pPageView) - { - SdPage* pPage = dynamic_cast<SdPage*>(pPageView->GetPage()); - if (pPage && pPage->IsMasterPage()) - bDisable = false; - } - if (bDisable) - rSet.DisableItem(nWhich); - } - break; - case SID_STYLE_FAMILY2: case SID_STYLE_FAMILY3: case SID_STYLE_FAMILY5: