From 8f4da40cc69979ba4982d44c49035138d13726d8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 22 Feb 2021 11:15:58 +0000 Subject: rename to DropdownDockingWindow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit these are used as non-resizable dropdown menu-alike things Change-Id: Ifd2ebd98a5fb08d27345113f4be8db0afb1d895a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111310 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- sc/source/ui/cctrl/checklistmenu.cxx | 8 ++++---- sc/source/ui/inc/checklistmenu.hxx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sc') diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index b2da89bb7717..19c098a8d96e 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -567,7 +567,7 @@ ScCheckListMenuControl::~ScCheckListMenuControl() ScCheckListMenuWindow::ScCheckListMenuWindow(vcl::Window* pParent, ScDocument* pDoc, bool bCanHaveSubMenu, bool bTreeMode, int nWidth, ScCheckListMenuWindow* pParentMenu, vcl::ILibreOfficeKitNotifier* pNotifier) - : InterimDockingWindow(pParent) + : DropdownDockingWindow(pParent) , mxParentMenu(pParentMenu) { if (pNotifier) @@ -586,7 +586,7 @@ bool ScCheckListMenuWindow::EventNotify(NotifyEvent& rNEvt) rMenuControl.queueCloseSubMenu(); rMenuControl.clearSelectedMenuItem(); } - return InterimDockingWindow::EventNotify(rNEvt); + return DropdownDockingWindow::EventNotify(rNEvt); } ScCheckListMenuWindow::~ScCheckListMenuWindow() @@ -598,12 +598,12 @@ void ScCheckListMenuWindow::dispose() { mxControl.reset(); mxParentMenu.clear(); - InterimDockingWindow::dispose(); + DropdownDockingWindow::dispose(); } void ScCheckListMenuWindow::GetFocus() { - InterimDockingWindow::GetFocus(); + DropdownDockingWindow::GetFocus(); if (!mxControl) return; mxControl->GrabFocus(); diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx index a00e1447557c..6f1a7377fdbd 100644 --- a/sc/source/ui/inc/checklistmenu.hxx +++ b/sc/source/ui/inc/checklistmenu.hxx @@ -297,7 +297,7 @@ private: * This class implements a popup window for field button, for quick access * of hide-item list, and possibly more stuff related to field options. */ -class ScCheckListMenuWindow : public InterimDockingWindow +class ScCheckListMenuWindow : public DropdownDockingWindow { public: explicit ScCheckListMenuWindow(vcl::Window* pParent, ScDocument* pDoc, -- cgit