summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/tools/Popup.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sidebar/tools/Popup.cxx')
-rw-r--r--svx/source/sidebar/tools/Popup.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/sidebar/tools/Popup.cxx b/svx/source/sidebar/tools/Popup.cxx
index 9cf7ebeb8cfe..c1a04c3bc177 100644
--- a/svx/source/sidebar/tools/Popup.cxx
+++ b/svx/source/sidebar/tools/Popup.cxx
@@ -40,7 +40,7 @@ Popup::Popup (
OSL_ASSERT(maControlCreator);
}
-Popup::~Popup (void)
+Popup::~Popup()
{
mxControl.reset();
mxContainer.reset();
@@ -77,21 +77,21 @@ void Popup::Show (ToolBox& rToolBox)
}
}
-void Popup::Hide (void)
+void Popup::Hide()
{
if (mxContainer)
if (mxContainer->IsInPopupMode())
mxContainer->EndPopupMode();
}
-void Popup::SetPopupModeEndHandler (const ::boost::function<void(void)>& rCallback)
+void Popup::SetPopupModeEndHandler (const ::boost::function<void()>& rCallback)
{
maPopupModeEndCallback = rCallback;
if (mxContainer)
mxContainer->SetPopupModeEndHdl(LINK(this, Popup, PopupModeEndHandler));
}
-void Popup::ProvideContainerAndControl (void)
+void Popup::ProvideContainerAndControl()
{
if ( ! (mxContainer && mxControl)
&& mpParent != nullptr
@@ -101,7 +101,7 @@ void Popup::ProvideContainerAndControl (void)
}
}
-void Popup::CreateContainerAndControl (void)
+void Popup::CreateContainerAndControl()
{
mxContainer.reset(VclPtr<PopupContainer>::Create(mpParent));
mxContainer->SetAccessibleName(msAccessibleName);