diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-22 14:36:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-22 14:18:25 +0100 |
commit | cbadc090a273a1d07d7b917fe0317d5450067662 (patch) | |
tree | 52fbd1212960af3c12d825f8b4cdf0f9877c79a0 /svtools | |
parent | 0970b8b652835001076d14138a54b4add1b93a93 (diff) |
inline some construction methods
only called from one constructor
Change-Id: I082cf3b459c936b79a6df695fffac5e3cf43705b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87186
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/brwbox/editbrowsebox.cxx | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx index c84ef2eb8cfd..ff76e1798531 100644 --- a/svtools/source/brwbox/editbrowsebox.cxx +++ b/svtools/source/brwbox/editbrowsebox.cxx @@ -102,19 +102,6 @@ namespace svt } } - void EditBrowseBox::impl_construct() - { - m_aImpl.reset(new EditBrowseBoxImpl); - - SetCompoundControl(true); - - ImplInitSettings(true, true, true); - - pCheckBoxPaint = VclPtr<CheckBoxControl>::Create(&GetDataWindow()); - pCheckBoxPaint->SetPaintTransparent( true ); - pCheckBoxPaint->SetBackground(); - } - EditBrowseBox::EditBrowseBox( vcl::Window* pParent, EditBrowseBoxFlags nBrowserFlags, WinBits nBits, BrowserMode _nMode ) :BrowseBox( pParent, nBits, _nMode ) ,nStartEvent(nullptr) @@ -130,7 +117,15 @@ namespace svt ,m_nBrowserFlags(nBrowserFlags) ,pHeader(nullptr) { - impl_construct(); + m_aImpl.reset(new EditBrowseBoxImpl); + + SetCompoundControl(true); + + ImplInitSettings(true, true, true); + + pCheckBoxPaint = VclPtr<CheckBoxControl>::Create(&GetDataWindow()); + pCheckBoxPaint->SetPaintTransparent( true ); + pCheckBoxPaint->SetBackground(); } void EditBrowseBox::Init() |