sd/source/ui/view/drviewsf.cxx | 15 --------------- 1 file changed, 15 deletions(-)
New commits: commit ae17868cb81f593913982454bfd07c863e569941 Author: Tomaž Vajngerl <[email protected]> AuthorDate: Wed Aug 30 09:15:56 2023 +0200 Commit: Xisco Fauli <[email protected]> CommitDate: Thu Jan 25 11:02:35 2024 +0100 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 <[email protected]> Reviewed-by: Miklos Vajna <[email protected]> (cherry picked from commit 62804da3c0ab9443cf36f2e02387a2e9c272d5dc) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162463 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> (cherry picked from commit 77070aedb602729c523ea166aa92d7c227a88312) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162466 Reviewed-by: Xisco Fauli <[email protected]> diff --git a/sd/source/ui/view/drviewsf.cxx b/sd/source/ui/view/drviewsf.cxx index 1844d796036d..c8c6933c29a1 100644 --- a/sd/source/ui/view/drviewsf.cxx +++ b/sd/source/ui/view/drviewsf.cxx @@ -470,21 +470,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:
