summaryrefslogtreecommitdiff
path: root/cui/source/customize/selector.cxx
diff options
context:
space:
mode:
authormelikeyurtoglu <aysemelikeyurtoglu@gmail.com>2016-11-03 02:35:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-03 06:37:42 +0000
commit164d8e3b1aa660d65c1af9570e67b66520bd953a (patch)
tree97506a9a691a08b50a2290606e58a35cd1c2fe73 /cui/source/customize/selector.cxx
parent10197c094b3267adc8071bcef482b64dc291deed (diff)
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/customize/selector.cxx')
-rw-r--r--cui/source/customize/selector.cxx22
1 files changed, 2 insertions, 20 deletions
diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx
index 17cb9f160e5e..f578c716d9ee 100644
--- a/cui/source/customize/selector.cxx
+++ b/cui/source/customize/selector.cxx
@@ -88,16 +88,7 @@ SvxConfigFunctionListBox::SvxConfigFunctionListBox(vcl::Window* pParent, WinBits
LINK( this, SvxConfigFunctionListBox, TimerHdl ) );
}
-VCL_BUILDER_DECL_FACTORY(SvxConfigFunctionListBox)
-{
- WinBits nWinBits = WB_TABSTOP;
-
- OString sBorder = VclBuilder::extractCustomProperty(rMap);
- if (!sBorder.isEmpty())
- nWinBits |= WB_BORDER;
-
- rRet = VclPtr<SvxConfigFunctionListBox>::Create(pParent, nWinBits);
-}
+VCL_BUILDER_FACTORY_CONSTRUCTOR(SvxConfigFunctionListBox, WB_TABSTOP)
SvxConfigFunctionListBox::~SvxConfigFunctionListBox()
{
@@ -225,16 +216,7 @@ SvxConfigGroupListBox::SvxConfigGroupListBox(vcl::Window* pParent, WinBits nStyl
);
}
-VCL_BUILDER_DECL_FACTORY(SvxConfigGroupListBox)
-{
- WinBits nWinBits = WB_TABSTOP;
-
- OString sBorder = VclBuilder::extractCustomProperty(rMap);
- if (!sBorder.isEmpty())
- nWinBits |= WB_BORDER;
-
- rRet = VclPtr<SvxConfigGroupListBox>::Create(pParent, nWinBits);
-}
+VCL_BUILDER_FACTORY_CONSTRUCTOR(SvxConfigGroupListBox, WB_TABSTOP)
SvxConfigGroupListBox::~SvxConfigGroupListBox()
{