summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/envlop1.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-11 13:42:10 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-05-11 13:57:27 +0100
commitceb6f473837261f2a6e43e028ce9da3daccc2f6c (patch)
treea1d3c72cfa773b7cf2c54d4c66c184a4146fa679 /sw/source/ui/envelp/envlop1.cxx
parent3fa5ac20a003d2eb0b718a98eb2217749e3133da (diff)
tdf#91052 - more macros for 'make' constructors.
Change-Id: Iece86485c52041b66cde91d7fbc772db16d90a93
Diffstat (limited to 'sw/source/ui/envelp/envlop1.cxx')
-rw-r--r--sw/source/ui/envelp/envlop1.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sw/source/ui/envelp/envlop1.cxx b/sw/source/ui/envelp/envlop1.cxx
index e6072f718899..b552d0357852 100644
--- a/sw/source/ui/envelp/envlop1.cxx
+++ b/sw/source/ui/envelp/envlop1.cxx
@@ -19,7 +19,7 @@
#include "dbmgr.hxx"
#include <sfx2/app.hxx>
-#include <vcl/builder.hxx>
+#include <vcl/builderfactory.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/settings.hxx>
@@ -57,10 +57,7 @@ Size SwEnvPreview::GetOptimalSize() const
return LogicToPixel(Size(84 , 63), MAP_APPFONT);
}
-extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeSwEnvPreview(vcl::Window *pParent, VclBuilder::stringmap &)
-{
- return new SwEnvPreview(pParent, 0);
-}
+VCL_BUILDER_FACTORY_ARGS(SwEnvPreview, 0)
void SwEnvPreview::DataChanged( const DataChangedEvent& rDCEvt )
{