From 164d8e3b1aa660d65c1af9570e67b66520bd953a Mon Sep 17 00:00:00 2001 From: melikeyurtoglu Date: Thu, 3 Nov 2016 02:35:00 +0200 Subject: tdf#91222 VclBuilder constructor cleanup Change-Id: I53bca2a9113862b8e7058937e231721c5f81a9de Signed-off-by: melikeyurtoglu Reviewed-on: https://gerrit.libreoffice.org/30511 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- dbaccess/source/ui/control/tabletree.cxx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx index 2dbe195c3591..4e686720f169 100644 --- a/dbaccess/source/ui/control/tabletree.cxx +++ b/dbaccess/source/ui/control/tabletree.cxx @@ -75,14 +75,7 @@ OTableTreeListBox::OTableTreeListBox(vcl::Window* pParent, WinBits nWinStyle) implSetDefaultImages(); } -VCL_BUILDER_DECL_FACTORY(OTableTreeListBox) -{ - WinBits nWinStyle = 0; - OString sBorder = VclBuilder::extractCustomProperty(rMap); - if (!sBorder.isEmpty()) - nWinStyle |= WB_BORDER; - rRet = VclPtr::Create(pParent, nWinStyle); -} +VCL_BUILDER_FACTORY_CONSTRUCTOR(OTableTreeListBox, 0) void OTableTreeListBox::implSetDefaultImages() { -- cgit