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/uibase/misc | |
parent | 3fa5ac20a003d2eb0b718a98eb2217749e3133da (diff) |
tdf#91052 - more macros for 'make' constructors.
Change-Id: Iece86485c52041b66cde91d7fbc772db16d90a93
Diffstat (limited to 'sw/source/uibase/misc')
-rw-r--r-- | sw/source/uibase/misc/numberingtypelistbox.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/uibase/misc/numberingtypelistbox.cxx b/sw/source/uibase/misc/numberingtypelistbox.cxx index 8f8264e0bc3c..30b6b05a6640 100644 --- a/sw/source/uibase/misc/numberingtypelistbox.cxx +++ b/sw/source/uibase/misc/numberingtypelistbox.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/text/XDefaultNumberingProvider.hpp> #include <comphelper/processfactory.hxx> #include <com/sun/star/text/XNumberingTypeInfo.hpp> +#include <vcl/builderfactory.hxx> #include <unomid.h> @@ -54,8 +55,9 @@ bool SwNumberingTypeListBox::set_property(const OString &rKey, const OString &rV return true; } -extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeSwNumberingTypeListBox(vcl::Window *pParent, VclBuilder::stringmap &) +VCL_BUILDER_DECL_FACTORY(SwNumberingTypeListBox) { + (void)rMap; SwNumberingTypeListBox *pListBox = new SwNumberingTypeListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_TABSTOP); pListBox->EnableAutoSize(true); return pListBox; |