summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dbui/dbtree.cxx
diff options
context:
space:
mode:
authormelikeyurtoglu <aysemelikeyurtoglu@gmail.com>2016-11-06 22:34:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 06:15:05 +0000
commit62e5010e5df379a26aa85ca9fd58bf872f020c36 (patch)
tree2cb5eeec5034ccfc510d51a2a61e3f068e9fad54 /sw/source/uibase/dbui/dbtree.cxx
parent8955c3fde60b0621527e4b91576e49778494f926 (diff)
tdf#91222 VclBuilder constructor cleanup
Change-Id: I2f7e2fd8b9ae45e1aa45cf97750a6107ed9f3036 Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/30673 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/dbui/dbtree.cxx')
-rw-r--r--sw/source/uibase/dbui/dbtree.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/sw/source/uibase/dbui/dbtree.cxx b/sw/source/uibase/dbui/dbtree.cxx
index a91511610f1f..8ff07ac75b37 100644
--- a/sw/source/uibase/dbui/dbtree.cxx
+++ b/sw/source/uibase/dbui/dbtree.cxx
@@ -153,14 +153,7 @@ SwDBTreeList::SwDBTreeList(vcl::Window *pParent, WinBits nStyle)
InitTreeList();
}
-VCL_BUILDER_DECL_FACTORY(SwDBTreeList)
-{
- WinBits nStyle = WB_TABSTOP;
- OString sBorder = VclBuilder::extractCustomProperty(rMap);
- if (!sBorder.isEmpty())
- nStyle |= WB_BORDER;
- rRet = VclPtr<SwDBTreeList>::Create(pParent, nStyle);
-}
+VCL_BUILDER_FACTORY_CONSTRUCTOR(SwDBTreeList, WB_TABSTOP)
Size SwDBTreeList::GetOptimalSize() const
{