summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/tabstpge.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/tabpages/tabstpge.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/tabpages/tabstpge.cxx')
-rw-r--r--cui/source/tabpages/tabstpge.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/cui/source/tabpages/tabstpge.cxx b/cui/source/tabpages/tabstpge.cxx
index 1014873898ef..5aee6efa500e 100644
--- a/cui/source/tabpages/tabstpge.cxx
+++ b/cui/source/tabpages/tabstpge.cxx
@@ -21,6 +21,7 @@
#include <svtools/ruler.hxx>
#include <svx/dialogs.hrc>
#include <vcl/settings.hxx>
+#include <vcl/builderfactory.hxx>
#include <cuires.hrc>
#include <editeng/lrspitem.hxx>
@@ -59,10 +60,8 @@ public:
void SetTabStyle(sal_uInt16 nStyle) {nTabStyle = nStyle; }
};
-extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeTabWin_Impl(vcl::Window *pParent, VclBuilder::stringmap &)
-{
- return new TabWin_Impl(pParent, 0);
-}
+VCL_BUILDER_FACTORY_ARGS(TabWin_Impl, 0)
+
// static ----------------------------------------------------------------
const sal_uInt16 SvxTabulatorTabPage::pRanges[] =