summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/svtabbx.cxx
diff options
context:
space:
mode:
authormelikeyurtoglu <aysemelikeyurtoglu@gmail.com>2016-11-17 07:50:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-17 11:51:35 +0000
commit69d08efffeca1e38fce7b04226894871279a1696 (patch)
treef8734b66b3d0144a88604fab60bbc45eee5ad69d /svtools/source/contnr/svtabbx.cxx
parentf099e1396f40584aebf3562873046f549139d042 (diff)
tdf#91222 VclBuilder constructor cleanup
Change-Id: I367c2096b3c0d508bca1e207c78c2f955f51e263 Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/30921 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/contnr/svtabbx.cxx')
-rw-r--r--svtools/source/contnr/svtabbx.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/svtools/source/contnr/svtabbx.cxx b/svtools/source/contnr/svtabbx.cxx
index c99df45dd3bb..12c6934b1259 100644
--- a/svtools/source/contnr/svtabbx.cxx
+++ b/svtools/source/contnr/svtabbx.cxx
@@ -95,14 +95,7 @@ SvTabListBox::SvTabListBox( vcl::Window* pParent, WinBits nBits )
SetHighlightRange(); // select full width
}
-VCL_BUILDER_DECL_FACTORY(SvTabListBox)
-{
- WinBits nWinStyle = WB_TABSTOP;
- OString sBorder = VclBuilder::extractCustomProperty(rMap);
- if (!sBorder.isEmpty())
- nWinStyle |= WB_BORDER;
- rRet = VclPtr<SvTabListBox>::Create(pParent, nWinStyle);
-}
+VCL_BUILDER_FACTORY_CONSTRUCTOR(SvTabListBox, WB_TABSTOP)
SvTabListBox::~SvTabListBox()
{