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 /svtools/source/control/urlcontrol.cxx | |
parent | fa9eb2512983b20510be3681fad379573b58fc72 (diff) |
tdf#91052 - more macros for 'make' constructors.
Change-Id: Ic7ff127e2793993f9dcf1018f8d5ed4f2858a2c4
Diffstat (limited to 'svtools/source/control/urlcontrol.cxx')
-rw-r--r-- | svtools/source/control/urlcontrol.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/control/urlcontrol.cxx b/svtools/source/control/urlcontrol.cxx index 8f74b9c0e960..8a268d75e4c8 100644 --- a/svtools/source/control/urlcontrol.cxx +++ b/svtools/source/control/urlcontrol.cxx @@ -17,11 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <svl/filenotation.hxx> #include <svtools/urlcontrol.hxx> #include <vcl/layout.hxx> - +#include <vcl/builderfactory.hxx> namespace svt { @@ -32,8 +31,9 @@ namespace svt DisableHistory(); } - extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeOFileURLControl(vcl::Window *pParent, VclBuilder::stringmap &) + VCL_BUILDER_DECL_FACTORY(OFileURLControl) { + (void)rMap; WinBits nWinBits = WB_LEFT|WB_VCENTER|WB_3DLOOK|WB_TABSTOP| WB_DROPDOWN|WB_AUTOSIZE|WB_AUTOHSCROLL; OFileURLControl* pListBox = new OFileURLControl(pParent, nWinBits); |