summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/window/menubarwindow.cxx9
-rw-r--r--vcl/source/window/menubarwindow.hxx3
2 files changed, 2 insertions, 10 deletions
diff --git a/vcl/source/window/menubarwindow.cxx b/vcl/source/window/menubarwindow.cxx
index 28a554ff8650..0ff19712f5c9 100644
--- a/vcl/source/window/menubarwindow.cxx
+++ b/vcl/source/window/menubarwindow.cxx
@@ -35,14 +35,9 @@
#define IID_DOCUMENTCLOSE 1
DecoToolBox::DecoToolBox( vcl::Window* pParent ) :
- ToolBox( pParent, 0 )
+ ToolBox( pParent, 0 ),
+ lastSize(-1)
{
- ImplInit();
-}
-
-void DecoToolBox::ImplInit()
-{
- lastSize = -1;
calcMinSize();
}
diff --git a/vcl/source/window/menubarwindow.hxx b/vcl/source/window/menubarwindow.hxx
index 57127b1fbaac..069db1391a48 100644
--- a/vcl/source/window/menubarwindow.hxx
+++ b/vcl/source/window/menubarwindow.hxx
@@ -39,13 +39,10 @@ class DecoToolBox : public ToolBox
long lastSize;
Size maMinSize;
- using Window::ImplInit;
public:
explicit DecoToolBox(vcl::Window* pParent);
virtual ~DecoToolBox() {}
- void ImplInit();
-
void DataChanged( const DataChangedEvent& rDCEvt ) override;
void SetImages( long nMaxHeight = 0, bool bForce = false );