summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-04 08:12:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-04 08:15:07 +0200
commit0cc53919440f150f4bfedb7a5b88cdb0cf3317dc (patch)
tree892d01cb1dc412a103a11c420e6a6ff961e88529 /desktop
parent56dcc7b65f0d9d0dd02486d0e9e6be366248c3f5 (diff)
loplugin:casttovoid in VCL_BUILDER_DECL_FACTORY
Change-Id: I4b0dd08963cf50daa41901975c6f92fe21db2048
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/gui/dp_gui_dialog2.cxx3
-rw-r--r--desktop/source/deployment/gui/dp_gui_extlistbox.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
index ce45a2b6ab79..f5c1f5f07c1c 100644
--- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx
+++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
@@ -150,9 +150,8 @@ void ExtBoxWithBtns_Impl::InitFromDialog(ExtMgrDialog *pParentDialog)
m_pParent = pParentDialog;
}
-VCL_BUILDER_DECL_FACTORY(ExtBoxWithBtns)
+extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makeExtBoxWithBtns(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap &)
{
- (void)rMap;
rRet = VclPtr<ExtBoxWithBtns_Impl>::Create(pParent);
}
diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
index b92485f4c44d..38db5652b192 100644
--- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
+++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
@@ -754,9 +754,8 @@ Size ExtensionBox_Impl::GetOptimalSize() const
return LogicToPixel(Size(250, 150), MapUnit::MapAppFont);
}
-VCL_BUILDER_DECL_FACTORY(ExtensionBox)
+extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makeExtensionBox(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap &)
{
- (void)rMap;
rRet = VclPtr<ExtensionBox_Impl>::Create(pParent);
}