summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-09 21:15:13 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-05-09 21:39:57 +0100
commit266ce1cd530b4ccb2f6ca8c58553da150e9ef40d (patch)
treef691950917301a23d129635b4b841dea5095fec2 /vcl
parent4a0cf72f40e9545d367f48617c2834146d7bec1a (diff)
tdf#91052 - more macros for 'make' constructors.
Change-Id: Id05266810760f73db2daba10d1efa14aa9f88dd9
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/printdlg.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index ad18df4f507a..c2c62acfe3d7 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -34,6 +34,7 @@
#include "vcl/svapp.hxx"
#include "vcl/unohelp.hxx"
#include "vcl/settings.hxx"
+#include "vcl/builderfactory.hxx"
#include "unotools/localedatawrapper.hxx"
@@ -51,13 +52,15 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::container;
using namespace com::sun::star::beans;
-extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makePrintPreviewWindow(vcl::Window *pParent, VclBuilder::stringmap &)
+VCL_BUILDER_DECL_FACTORY(PrintPreviewWindow)
{
+ (void)rMap;
return new PrintDialog::PrintPreviewWindow(pParent);
}
-extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeShowNupOrderWindow(vcl::Window *pParent, VclBuilder::stringmap &)
+VCL_BUILDER_DECL_FACTORY(ShowNupOrderWindow)
{
+ (void)rMap;
return new PrintDialog::ShowNupOrderWindow(pParent);
}