diff options
Diffstat (limited to 'cui/source/tabpages/numfmt.cxx')
-rw-r--r-- | cui/source/tabpages/numfmt.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx index 5720e2d9ccd1..63b08ef060a5 100644 --- a/cui/source/tabpages/numfmt.cxx +++ b/cui/source/tabpages/numfmt.cxx @@ -23,6 +23,7 @@ #include <vcl/builder.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> +#include <vcl/builderfactory.hxx> #include <unotools/localedatawrapper.hxx> #include <i18nlangtag/lang.h> #include <i18nlangtag/mslangid.hxx> @@ -89,10 +90,7 @@ SvxNumberPreview::SvxNumberPreview(vcl::Window* pParent, WinBits nStyle) SetBorderStyle( WindowBorderStyle::MONO ); } -extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeSvxNumberPreview(vcl::Window *pParent, VclBuilder::stringmap &) -{ - return new SvxNumberPreview(pParent); -} +VCL_BUILDER_FACTORY(SvxNumberPreview) /************************************************************************* #* Method: NotifyChange |