diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-09 21:15:13 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-09 21:39:57 +0100 |
commit | 266ce1cd530b4ccb2f6ca8c58553da150e9ef40d (patch) | |
tree | f691950917301a23d129635b4b841dea5095fec2 /basctl | |
parent | 4a0cf72f40e9545d367f48617c2834146d7bec1a (diff) |
tdf#91052 - more macros for 'make' constructors.
Change-Id: Id05266810760f73db2daba10d1efa14aa9f88dd9
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/bastype2.cxx | 3 | ||||
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 3 | ||||
-rw-r--r-- | basctl/source/basicide/moduldlg.cxx | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/basctl/source/basicide/bastype2.cxx b/basctl/source/basicide/bastype2.cxx index 79ebd6d8dacd..27f35d57c12f 100644 --- a/basctl/source/basicide/bastype2.cxx +++ b/basctl/source/basicide/bastype2.cxx @@ -30,6 +30,7 @@ #include <com/sun/star/frame/ModuleManager.hpp> #include <comphelper/processfactory.hxx> #include <sfx2/dispatch.hxx> +#include <vcl/builderfactory.hxx> #include <initializer_list> @@ -195,7 +196,7 @@ void TreeListBox::Init() nMode = 0xFF; // everything } -extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeTreeListBox(vcl::Window *pParent, VclBuilder::stringmap &rMap) +VCL_BUILDER_DECL_FACTORY(TreeListBox) { WinBits nWinBits = WB_TABSTOP; OString sBorder = VclBuilder::extractCustomProperty(rMap); diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 2f0fcb496a44..eeca6aafb2c3 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -33,6 +33,7 @@ #include <tools/diagnose_ex.h> #include <svtools/svlbitm.hxx> #include <svtools/treelistentry.hxx> +#include <vcl/builderfactory.hxx> #include <com/sun/star/io/Pipe.hpp> #include <com/sun/star/ui/dialogs/FilePicker.hpp> @@ -150,7 +151,7 @@ CheckBox::CheckBox(vcl::Window* pParent, WinBits nStyle) Init(); } -extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeCheckBox(vcl::Window *pParent, VclBuilder::stringmap &rMap) +VCL_BUILDER_DECL_FACTORY(CheckBox) { WinBits nWinBits = WB_TABSTOP; OString sBorder = VclBuilder::extractCustomProperty(rMap); diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index 8abed4ee8893..712c66c6eef4 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -32,6 +32,7 @@ #include <sfx2/dispatch.hxx> #include <sfx2/request.hxx> #include <svl/stritem.hxx> +#include <vcl/builderfactory.hxx> #include <tools/diagnose_ex.h> #include <xmlscript/xmldlg_imexp.hxx> #include <svtools/treelistentry.hxx> @@ -53,7 +54,7 @@ ExtTreeListBox::ExtTreeListBox(vcl::Window* pParent, WinBits nStyle) { } -extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeExtTreeListBox(vcl::Window *pParent, VclBuilder::stringmap &rMap) +VCL_BUILDER_DECL_FACTORY(ExtTreeListBox) { WinBits nWinBits = WB_TABSTOP; OString sBorder = VclBuilder::extractCustomProperty(rMap); |