From cd17f402ad17c7f9b3f590d7e7d27462dfc86dc5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 5 Mar 2021 10:27:25 +0000 Subject: move properties from container vcl::Window to window-filling child MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5ddd17220ff8b45678716c406297d305aa2229e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112000 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sd/source/ui/sidebar/LayoutMenu.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sd/source/ui/sidebar/LayoutMenu.cxx b/sd/source/ui/sidebar/LayoutMenu.cxx index 981763dde084..699e6f2befad 100644 --- a/sd/source/ui/sidebar/LayoutMenu.cxx +++ b/sd/source/ui/sidebar/LayoutMenu.cxx @@ -196,8 +196,8 @@ void LayoutMenu::implConstruct( DrawDocShell& rDocumentShell ) Link<::sd::tools::EventMultiplexerEvent&,void> aEventListenerLink (LINK(this,LayoutMenu,EventMultiplexerListener)); mrBase.GetEventMultiplexer()->AddEventListener(aEventListenerLink); - Window::SetHelpId(HID_SD_TASK_PANE_PREVIEW_LAYOUTS); - SetAccessibleName(SdResId(STR_TASKPANEL_LAYOUT_MENU_TITLE)); + mxLayoutValueSet->SetHelpId(HID_SD_TASK_PANE_PREVIEW_LAYOUTS); + mxLayoutValueSet->SetAccessibleName(SdResId(STR_TASKPANEL_LAYOUT_MENU_TITLE)); Link aStateChangeLink (LINK(this,LayoutMenu,StateChangeHandler)); mxListener = new ::sd::tools::SlotStateListener( -- cgit