diff options
author | melikeyurtoglu <aysemelikeyurtoglu@gmail.com> | 2016-11-03 02:35:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-03 06:37:42 +0000 |
commit | 164d8e3b1aa660d65c1af9570e67b66520bd953a (patch) | |
tree | 97506a9a691a08b50a2290606e58a35cd1c2fe73 /cui/source/dialogs/hlmarkwn.cxx | |
parent | tdf#91222 VclBuilder constructor cleanup (diff) | |
download | core-164d8e3b1aa660d65c1af9570e67b66520bd953a.tar.gz core-164d8e3b1aa660d65c1af9570e67b66520bd953a.zip |
tdf#91222 VclBuilder constructor cleanup
Change-Id: I53bca2a9113862b8e7058937e231721c5f81a9de
Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/30511
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/dialogs/hlmarkwn.cxx')
-rw-r--r-- | cui/source/dialogs/hlmarkwn.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cui/source/dialogs/hlmarkwn.cxx b/cui/source/dialogs/hlmarkwn.cxx index f2087cc4840e..a7d6d2f3681d 100644 --- a/cui/source/dialogs/hlmarkwn.cxx +++ b/cui/source/dialogs/hlmarkwn.cxx @@ -84,14 +84,7 @@ void SvxHlmarkTreeLBox::dispose() SvTreeListBox::dispose(); } -VCL_BUILDER_DECL_FACTORY(SvxHlmarkTreeLBox) -{ - WinBits nWinStyle = WB_TABSTOP; - OString sBorder = VclBuilder::extractCustomProperty(rMap); - if (!sBorder.isEmpty()) - nWinStyle |= WB_BORDER; - rRet = VclPtr<SvxHlmarkTreeLBox>::Create(pParent, nWinStyle); -} +VCL_BUILDER_FACTORY_CONSTRUCTOR(SvxHlmarkTreeLBox, WB_TABSTOP) Size SvxHlmarkTreeLBox::GetOptimalSize() const { |