diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/bastype2.cxx | 9 | ||||
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 9 | ||||
-rw-r--r-- | basctl/source/basicide/moduldlg.cxx | 9 |
3 files changed, 3 insertions, 24 deletions
diff --git a/basctl/source/basicide/bastype2.cxx b/basctl/source/basicide/bastype2.cxx index 7b836c86be48..7b7c64f9bc2b 100644 --- a/basctl/source/basicide/bastype2.cxx +++ b/basctl/source/basicide/bastype2.cxx @@ -166,14 +166,7 @@ TreeListBox::TreeListBox (vcl::Window* pParent, WinBits nStyle) nMode = 0xFF; // everything } -VCL_BUILDER_DECL_FACTORY(TreeListBox) -{ - WinBits nWinBits = WB_TABSTOP; - OString sBorder = VclBuilder::extractCustomProperty(rMap); - if (!sBorder.isEmpty()) - nWinBits |= WB_BORDER; - rRet = VclPtr<TreeListBox>::Create(pParent, nWinBits); -} +VCL_BUILDER_FACTORY_CONSTRUCTOR(TreeListBox, WB_TABSTOP) TreeListBox::~TreeListBox () { diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 1b661a8c9d7d..b51ae9e837c5 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -155,14 +155,7 @@ CheckBox::CheckBox(vcl::Window* pParent, WinBits nStyle) Init(); } -VCL_BUILDER_DECL_FACTORY(CheckBox) -{ - WinBits nWinBits = WB_TABSTOP; - OString sBorder = VclBuilder::extractCustomProperty(rMap); - if (!sBorder.isEmpty()) - nWinBits |= WB_BORDER; - rRet = VclPtr<CheckBox>::Create(pParent, nWinBits); -} +VCL_BUILDER_FACTORY_CONSTRUCTOR(CheckBox, WB_TABSTOP) CheckBox::~CheckBox() { diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index 8636097a908f..4d4df19704d9 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -53,14 +53,7 @@ ExtTreeListBox::ExtTreeListBox(vcl::Window* pParent, WinBits nStyle) { } -VCL_BUILDER_DECL_FACTORY(ExtTreeListBox) -{ - WinBits nWinBits = WB_TABSTOP; - OString sBorder = VclBuilder::extractCustomProperty(rMap); - if (!sBorder.isEmpty()) - nWinBits |= WB_BORDER; - rRet = VclPtr<ExtTreeListBox>::Create(pParent, nWinBits); -} +VCL_BUILDER_FACTORY_CONSTRUCTOR(ExtTreeListBox, WB_TABSTOP) bool ExtTreeListBox::EditingEntry( SvTreeListEntry* pEntry, Selection& ) { |