summaryrefslogtreecommitdiff
path: root/sc/source/ui/cctrl/checklistmenu.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-02-22 11:15:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-02-22 15:13:19 +0100
commit8f4da40cc69979ba4982d44c49035138d13726d8 (patch)
treeaf625c320dbd8900fb1c21c43d62ad6f02c8445b /sc/source/ui/cctrl/checklistmenu.cxx
parent09acea893429b6bdfe61da23e463cfbc29947b72 (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/source/ui/cctrl/checklistmenu.cxx')
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx8
1 files changed, 4 insertions, 4 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();