diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-03-07 22:39:40 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-03-08 06:10:23 +0000 |
commit | bb4cf1da125344d5ef4fe51b0f1549718a11affa (patch) | |
tree | c5354c0e34ccd1be04298ada0e550e3cd08a4b76 /svx | |
parent | 279445f5cce454efda240b6937791a47087690fb (diff) |
tdf#91222 VclBuilder constructor cleanup
Change-Id: I951bfda566e0aae3b0a82f30be28e66601797cc8
Reviewed-on: https://gerrit.libreoffice.org/34958
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/SvxPresetListBox.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/svx/source/tbxctrls/SvxPresetListBox.cxx b/svx/source/tbxctrls/SvxPresetListBox.cxx index c0b3ed12898b..89f96da17ec7 100644 --- a/svx/source/tbxctrls/SvxPresetListBox.cxx +++ b/svx/source/tbxctrls/SvxPresetListBox.cxx @@ -37,16 +37,8 @@ SvxPresetListBox::SvxPresetListBox(vcl::Window* pParent, WinBits nWinStyle) SetExtraSpacing(4); } -VCL_BUILDER_DECL_FACTORY(SvxPresetListBox) -{ - WinBits nWinBits = WB_TABSTOP; - OString sBorder = VclBuilder::extractCustomProperty(rMap); - if(!sBorder.isEmpty()) - nWinBits |= WB_BORDER; - nWinBits |= (WB_ITEMBORDER| WB_3DLOOK|WB_OWNERDRAWDECORATION); - rRet = VclPtr<SvxPresetListBox>::Create(pParent, nWinBits); -} +VCL_BUILDER_FACTORY_CONSTRUCTOR(SvxPresetListBox, WB_ITEMBORDER| WB_3DLOOK|WB_OWNERDRAWDECORATION|WB_TABSTOP) void SvxPresetListBox::Resize() { |