summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-03-07 22:39:40 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-08 06:10:23 +0000
commitbb4cf1da125344d5ef4fe51b0f1549718a11affa (patch)
treec5354c0e34ccd1be04298ada0e550e3cd08a4b76 /svx
parent279445f5cce454efda240b6937791a47087690fb (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.cxx10
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()
{