summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-03-07 22:39:40 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-08 06:10:23 +0000
commitbb4cf1da125344d5ef4fe51b0f1549718a11affa (patch)
treec5354c0e34ccd1be04298ada0e550e3cd08a4b76 /sw
parent279445f5cce454efda240b6937791a47087690fb (diff)
tdf#91222 VclBuilder constructor cleanup
Change-Id: I951bfda566e0aae3b0a82f30be28e66601797cc8 Reviewed-on: https://gerrit.libreoffice.org/34958 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx
index 335127b9ca76..af25e2d3b878 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.cxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.cxx
@@ -1324,14 +1324,8 @@ Size AddressMultiLineEdit::GetOptimalSize() const
return LogicToPixel(Size(160, 60), MapUnit::MapAppFont);
}
-VCL_BUILDER_DECL_FACTORY(AddressMultiLineEdit)
-{
- WinBits nWinStyle = WB_LEFT|WB_TABSTOP;
- OString sBorder = VclBuilder::extractCustomProperty(rMap);
- if (!sBorder.isEmpty())
- nWinStyle |= WB_BORDER;
- rRet = VclPtr<AddressMultiLineEdit>::Create(pParent, nWinStyle);
-}
+
+VCL_BUILDER_FACTORY_CONSTRUCTOR(AddressMultiLineEdit, WB_LEFT|WB_TABSTOP)
void AddressMultiLineEdit::SetAddressDialog(SwCustomizeAddressBlockDialog *pParent)
{