From c0d9642b4df485c32350cdc7a16084a2eac2cbf7 Mon Sep 17 00:00:00 2001 From: Arnaud Versini Date: Wed, 15 Jun 2016 20:28:09 +0200 Subject: VCL: Simplify ToolBox initialisation Change-Id: Ia83e2011897b8c6b81cbe476a22944abd2230291 Reviewed-on: https://gerrit.libreoffice.org/26329 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/window/menubarwindow.cxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'vcl/source/window/menubarwindow.cxx') 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(); } -- cgit