diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/fldui/FldRefTreeListBox.cxx | 9 | ||||
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 9 | ||||
-rw-r--r-- | sw/source/ui/table/tautofmt.cxx | 9 | ||||
-rw-r--r-- | sw/source/uibase/dbui/dbtree.cxx | 9 | ||||
-rw-r--r-- | sw/source/uibase/dbui/mailmergehelper.cxx | 9 |
5 files changed, 5 insertions, 40 deletions
diff --git a/sw/source/ui/fldui/FldRefTreeListBox.cxx b/sw/source/ui/fldui/FldRefTreeListBox.cxx index 976230e86f30..436b2740a9ca 100644 --- a/sw/source/ui/fldui/FldRefTreeListBox.cxx +++ b/sw/source/ui/fldui/FldRefTreeListBox.cxx @@ -28,14 +28,7 @@ SwFieldRefTreeListBox::SwFieldRefTreeListBox(vcl::Window* pParent, WinBits nStyl { } -VCL_BUILDER_DECL_FACTORY(SwFieldRefTreeListBox) -{ - WinBits nWinStyle = WB_TABSTOP; - OString sBorder = VclBuilder::extractCustomProperty(rMap); - if (!sBorder.isEmpty()) - nWinStyle |= WB_BORDER; - rRet = VclPtr<SwFieldRefTreeListBox>::Create(pParent, nWinStyle); -} +VCL_BUILDER_FACTORY_CONSTRUCTOR(SwFieldRefTreeListBox, WB_TABSTOP) void SwFieldRefTreeListBox::RequestHelp( const HelpEvent& rHEvt ) { diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index bb91b4362091..57a62d38c37b 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -1756,14 +1756,7 @@ void SwIdxTreeListBox::dispose() SvTreeListBox::dispose(); } -VCL_BUILDER_DECL_FACTORY(SwIdxTreeListBox) -{ - WinBits nWinStyle = WB_TABSTOP; - OString sBorder = VclBuilder::extractCustomProperty(rMap); - if (!sBorder.isEmpty()) - nWinStyle |= WB_BORDER; - rRet = VclPtr<SwIdxTreeListBox>::Create(pParent, nWinStyle); -} +VCL_BUILDER_FACTORY_CONSTRUCTOR(SwIdxTreeListBox, WB_TABSTOP) void SwIdxTreeListBox::RequestHelp( const HelpEvent& rHEvt ) { diff --git a/sw/source/ui/table/tautofmt.cxx b/sw/source/ui/table/tautofmt.cxx index c1bf217d29cd..df74f780cc88 100644 --- a/sw/source/ui/table/tautofmt.cxx +++ b/sw/source/ui/table/tautofmt.cxx @@ -523,14 +523,7 @@ AutoFormatPreview::AutoFormatPreview(vcl::Window* pParent, WinBits nStyle) : Init(); } -VCL_BUILDER_DECL_FACTORY(AutoFormatPreview) -{ - WinBits nWinStyle = 0; - OString sBorder = VclBuilder::extractCustomProperty(rMap); - if (!sBorder.isEmpty()) - nWinStyle |= WB_BORDER; - rRet = VclPtr<AutoFormatPreview>::Create(pParent, nWinStyle); -} +VCL_BUILDER_FACTORY_CONSTRUCTOR(AutoFormatPreview, 0) void AutoFormatPreview::Resize() { 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 { diff --git a/sw/source/uibase/dbui/mailmergehelper.cxx b/sw/source/uibase/dbui/mailmergehelper.cxx index c6255e87b5cb..9910fe0756f8 100644 --- a/sw/source/uibase/dbui/mailmergehelper.cxx +++ b/sw/source/uibase/dbui/mailmergehelper.cxx @@ -200,14 +200,7 @@ void SwAddressPreview::dispose() vcl::Window::dispose(); } -VCL_BUILDER_DECL_FACTORY(SwAddressPreview) -{ - WinBits nWinStyle = WB_TABSTOP; - OString sBorder = VclBuilder::extractCustomProperty(rMap); - if (!sBorder.isEmpty()) - nWinStyle |= WB_BORDER; - rRet = VclPtr<SwAddressPreview>::Create(pParent, nWinStyle); -} +VCL_BUILDER_FACTORY_CONSTRUCTOR(SwAddressPreview, WB_TABSTOP) void SwAddressPreview::positionScrollBar() { |