diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-22 11:15:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-22 15:13:19 +0100 |
commit | 8f4da40cc69979ba4982d44c49035138d13726d8 (patch) | |
tree | af625c320dbd8900fb1c21c43d62ad6f02c8445b /sc | |
parent | 09acea893429b6bdfe61da23e463cfbc29947b72 (diff) |
rename to DropdownDockingWindow
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 <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/cctrl/checklistmenu.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/inc/checklistmenu.hxx | 2 |
2 files changed, 5 insertions, 5 deletions
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, |