diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-04 08:12:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-04 08:15:07 +0200 |
commit | 0cc53919440f150f4bfedb7a5b88cdb0cf3317dc (patch) | |
tree | 892d01cb1dc412a103a11c420e6a6ff961e88529 /dbaccess | |
parent | 56dcc7b65f0d9d0dd02486d0e9e6be366248c3f5 (diff) |
loplugin:casttovoid in VCL_BUILDER_DECL_FACTORY
Change-Id: I4b0dd08963cf50daa41901975c6f92fe21db2048
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/control/curledit.cxx | 3 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/indexfieldscontrol.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/dbaccess/source/ui/control/curledit.cxx b/dbaccess/source/ui/control/curledit.cxx index 3ce810781cdf..4f9329dcede0 100644 --- a/dbaccess/source/ui/control/curledit.cxx +++ b/dbaccess/source/ui/control/curledit.cxx @@ -34,9 +34,8 @@ OConnectionURLEdit::OConnectionURLEdit(vcl::Window* _pParent, WinBits _nBits,boo { } -VCL_BUILDER_DECL_FACTORY(ConnectionURLEdit) +extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makeConnectionURLEdit(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap &) { - (void)rMap; rRet = VclPtr<OConnectionURLEdit>::Create(pParent, WB_BORDER, false); } diff --git a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx index 7ee609eb94dd..b04ed9814cba 100644 --- a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx +++ b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx @@ -76,9 +76,8 @@ namespace dbaui { } - VCL_BUILDER_DECL_FACTORY(DbaIndexFieldsControl) + extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makeDbaIndexFieldsControl(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap &) { - (void)rMap; rRet = VclPtr<IndexFieldsControl>::Create(pParent, WB_BORDER | WB_NOTABSTOP); } |