diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-11 09:35:06 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-11 13:07:45 +0100 |
commit | b01554bcdaca076f900c25b672fd691dbe76c9db (patch) | |
tree | d9c542e48970d841f39c6b429ed418f8995ffc1a /svx/source/dialog/dialcontrol.cxx | |
parent | fa9eb2512983b20510be3681fad379573b58fc72 (diff) |
tdf#91052 - more macros for 'make' constructors.
Change-Id: Ic7ff127e2793993f9dcf1018f8d5ed4f2858a2c4
Diffstat (limited to 'svx/source/dialog/dialcontrol.cxx')
-rw-r--r-- | svx/source/dialog/dialcontrol.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx index d713e76139bc..f07d9f1c1f7f 100644 --- a/svx/source/dialog/dialcontrol.cxx +++ b/svx/source/dialog/dialcontrol.cxx @@ -28,7 +28,7 @@ #include <vcl/field.hxx> #include <vcl/settings.hxx> #include <svtools/colorcfg.hxx> -#include <vcl/builder.hxx> +#include <vcl/builderfactory.hxx> namespace svx { @@ -267,10 +267,7 @@ DialControl::DialControl( vcl::Window* pParent, WinBits nBits ) : Init( GetOutputSizePixel() ); } -extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeDialControl(vcl::Window *pParent, VclBuilder::stringmap &) -{ - return new DialControl(pParent, WB_TABSTOP); -} +VCL_BUILDER_FACTORY_ARGS(DialControl, WB_TABSTOP) void DialControl::Resize() { |