summaryrefslogtreecommitdiff
path: root/vcl
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 /vcl
parent56dcc7b65f0d9d0dd02486d0e9e6be366248c3f5 (diff)
loplugin:casttovoid in VCL_BUILDER_DECL_FACTORY
Change-Id: I4b0dd08963cf50daa41901975c6f92fe21db2048
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/button.cxx3
-rw-r--r--vcl/source/window/printdlg.cxx6
2 files changed, 3 insertions, 6 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index a5e64593cdee..c8769355051b 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -3882,9 +3882,8 @@ void DisclosureButton::KeyInput( const KeyEvent& rKEvt )
CheckBox::KeyInput( rKEvt );
}
-VCL_BUILDER_DECL_FACTORY(SmallButton)
+extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makeSmallButton(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap &)
{
- (void)rMap;
rRet = VclPtr<PushButton>::Create(pParent, WB_CLIPCHILDREN|WB_CENTER|WB_VCENTER|WB_FLATBUTTON|WB_SMALLSTYLE);
}
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 07c26f5c24ab..7c03f58eee8c 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -54,15 +54,13 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::container;
using namespace com::sun::star::beans;
-VCL_BUILDER_DECL_FACTORY(PrintPreviewWindow)
+extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makePrintPreviewWindow(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap &)
{
- (void)rMap;
rRet = VclPtr<PrintDialog::PrintPreviewWindow>::Create(pParent);
}
-VCL_BUILDER_DECL_FACTORY(ShowNupOrderWindow)
+extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makeShowNupOrderWindow(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap &)
{
- (void)rMap;
rRet = VclPtr<PrintDialog::ShowNupOrderWindow>::Create(pParent);
}