diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-09 21:15:13 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-09 21:39:57 +0100 |
commit | 266ce1cd530b4ccb2f6ca8c58553da150e9ef40d (patch) | |
tree | f691950917301a23d129635b4b841dea5095fec2 /sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx | |
parent | 4a0cf72f40e9545d367f48617c2834146d7bec1a (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.cxx | 8 |
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) |