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 /dbaccess/source/ui/control/RelationControl.cxx | |
parent | 4a0cf72f40e9545d367f48617c2834146d7bec1a (diff) |
tdf#91052 - more macros for 'make' constructors.
Change-Id: Id05266810760f73db2daba10d1efa14aa9f88dd9
Diffstat (limited to 'dbaccess/source/ui/control/RelationControl.cxx')
-rw-r--r-- | dbaccess/source/ui/control/RelationControl.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx index b7bdad487f80..4988943f8af0 100644 --- a/dbaccess/source/ui/control/RelationControl.cxx +++ b/dbaccess/source/ui/control/RelationControl.cxx @@ -22,7 +22,7 @@ #include <svtools/editbrowsebox.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <tools/diagnose_ex.h> -#include <vcl/builder.hxx> +#include <vcl/builderfactory.hxx> #include "TableConnectionData.hxx" #include "TableConnection.hxx" #include "TableWindow.hxx" @@ -140,10 +140,7 @@ namespace dbaui { } - extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeORelationControl(vcl::Window *pParent, VclBuilder::stringmap &) - { - return new ORelationControl(pParent); - } + VCL_BUILDER_FACTORY(ORelationControl) void ORelationControl::Init(const TTableConnectionData::value_type& _pConnData) { |