diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2016-06-15 20:28:09 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-16 06:38:55 +0000 |
commit | c0d9642b4df485c32350cdc7a16084a2eac2cbf7 (patch) | |
tree | 018f32e05d2a3cac592f1b67af54511b007dc35e /vcl/source/window/menubarwindow.cxx | |
parent | fbed9850fd51327b9ca5971f603a06a49483ac14 (diff) |
VCL: Simplify ToolBox initialisation
Change-Id: Ia83e2011897b8c6b81cbe476a22944abd2230291
Reviewed-on: https://gerrit.libreoffice.org/26329
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/window/menubarwindow.cxx')
-rw-r--r-- | vcl/source/window/menubarwindow.cxx | 9 |
1 files changed, 2 insertions, 7 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(); } |