diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-11 13:42:10 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-11 13:57:27 +0100 |
commit | ceb6f473837261f2a6e43e028ce9da3daccc2f6c (patch) | |
tree | a1d3c72cfa773b7cf2c54d4c66c184a4146fa679 /sw/source/ui/fldui | |
parent | 3fa5ac20a003d2eb0b718a98eb2217749e3133da (diff) |
tdf#91052 - more macros for 'make' constructors.
Change-Id: Iece86485c52041b66cde91d7fbc772db16d90a93
Diffstat (limited to 'sw/source/ui/fldui')
-rw-r--r-- | sw/source/ui/fldui/FldRefTreeListBox.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/fldui/fldvar.cxx | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/ui/fldui/FldRefTreeListBox.cxx b/sw/source/ui/fldui/FldRefTreeListBox.cxx index c04603c02aa7..c84b5c45e73b 100644 --- a/sw/source/ui/fldui/FldRefTreeListBox.cxx +++ b/sw/source/ui/fldui/FldRefTreeListBox.cxx @@ -20,7 +20,7 @@ #include <FldRefTreeListBox.hxx> #include <helpid.h> -#include <vcl/builder.hxx> +#include <vcl/builderfactory.hxx> #include <vcl/help.hxx> SwFldRefTreeListBox::SwFldRefTreeListBox(vcl::Window* pParent, WinBits nStyle) @@ -28,7 +28,7 @@ SwFldRefTreeListBox::SwFldRefTreeListBox(vcl::Window* pParent, WinBits nStyle) { } -extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeSwFldRefTreeListBox(vcl::Window *pParent, VclBuilder::stringmap &rMap) +VCL_BUILDER_DECL_FACTORY(SwFldRefTreeListBox) { WinBits nWinStyle = WB_TABSTOP; OString sBorder = VclBuilder::extractCustomProperty(rMap); diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx index 06774c80a89d..8da46a400a26 100644 --- a/sw/source/ui/fldui/fldvar.cxx +++ b/sw/source/ui/fldui/fldvar.cxx @@ -19,6 +19,7 @@ #include <swtypes.hxx> #include <sfx2/linkmgr.hxx> +#include <vcl/builderfactory.hxx> #include <IDocumentFieldsAccess.hxx> #include <usrfld.hxx> #include <docufld.hxx> @@ -1262,7 +1263,7 @@ SelectionListBox::SelectionListBox(vcl::Window* pParent, WinBits nStyle) { } -extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeSelectionListBox(vcl::Window *pParent, VclBuilder::stringmap &rMap) +VCL_BUILDER_DECL_FACTORY(SelectionListBox) { WinBits nBits = WB_LEFT|WB_VCENTER|WB_3DLOOK; |