summaryrefslogtreecommitdiff
path: root/cui/source/customize/macropg.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-09 16:46:56 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-05-09 20:37:54 +0100
commitcf6bfd666843c1cfc75e453e6e7f0405173a1831 (patch)
treee5e014f79b7f89861b7499e36e2eff677de14e1e /cui/source/customize/macropg.cxx
parentd1b7aa568ac949d55f6512add9c9ec369c3ef1db (diff)
tdf#91052 - use macros to standardize 'make' constructors for VclBuilder.
When complete - should ease the switch to VclPtr<>::Create. Change-Id: Idf876e2eeb830b36dd86e84317277cc88e1dc013
Diffstat (limited to 'cui/source/customize/macropg.cxx')
-rw-r--r--cui/source/customize/macropg.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx
index cd7e84d75ecf..ae4daa6c9bc4 100644
--- a/cui/source/customize/macropg.cxx
+++ b/cui/source/customize/macropg.cxx
@@ -39,6 +39,7 @@
#include "headertablistbox.hxx"
#include "macropg_impl.hxx"
#include <svx/dialogs.hrc>
+#include <vcl/builderfactory.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <algorithm>
@@ -151,7 +152,7 @@ void MacroEventListBox::dispose()
Control::dispose();
}
-extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeMacroEventListBox(vcl::Window *pParent, VclBuilder::stringmap &rMap)
+VCL_BUILDER_DECL_FACTORY(MacroEventListBox)
{
WinBits nWinBits = WB_TABSTOP;