From a2baea7faff31d26459dab3668a39eae85e4991b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 11:27:30 +0200 Subject: Adding upstream version 4:24.2.1. Signed-off-by: Daniel Baumann --- sd/source/ui/view/drviewsf.cxx | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'sd/source') diff --git a/sd/source/ui/view/drviewsf.cxx b/sd/source/ui/view/drviewsf.cxx index 1844d79603..c8c6933c29 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(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: -- cgit v1.2.3