summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
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 /sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
parent4a0cf72f40e9545d367f48617c2834146d7bec1a (diff)
tdf#91052 - more macros for 'make' constructors.
Change-Id: Id05266810760f73db2daba10d1efa14aa9f88dd9
Diffstat (limited to 'sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx')
-rw-r--r--sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
index 3595286c2fda..5efd63f53b73 100644
--- a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
+++ b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
@@ -12,16 +12,16 @@
#include "PivotLayoutTreeListLabel.hxx"
#include "PivotLayoutDialog.hxx"
+#include <vcl/builderfactory.hxx>
#include <svtools/treelistentry.hxx>
#include "pivot.hxx"
#include "scabstdlg.hxx"
using namespace std;
-extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeScPivotLayoutTreeListLabel(vcl::Window *pParent, VclBuilder::stringmap& )
-{
- return new ScPivotLayoutTreeListLabel(pParent, WB_BORDER | WB_TABSTOP | WB_CLIPCHILDREN | WB_FORCE_MAKEVISIBLE);
-}
+VCL_BUILDER_FACTORY_ARGS(ScPivotLayoutTreeListLabel,
+ WB_BORDER | WB_TABSTOP | WB_CLIPCHILDREN |
+ WB_FORCE_MAKEVISIBLE);
ScPivotLayoutTreeListLabel::ScPivotLayoutTreeListLabel(vcl::Window* pParent, WinBits nBits)
: ScPivotLayoutTreeListBase(pParent, nBits, LABEL_LIST)