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 /include | |
parent | 56dcc7b65f0d9d0dd02486d0e9e6be366248c3f5 (diff) |
loplugin:casttovoid in VCL_BUILDER_DECL_FACTORY
Change-Id: I4b0dd08963cf50daa41901975c6f92fe21db2048
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/builderfactory.hxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/vcl/builderfactory.hxx b/include/vcl/builderfactory.hxx index fbb53cc5f89f..c2bada89ffe2 100644 --- a/include/vcl/builderfactory.hxx +++ b/include/vcl/builderfactory.hxx @@ -13,26 +13,22 @@ #include <vcl/vclptr.hxx> #include <vcl/builder.hxx> -#define VCL_BUILDER_DECL_FACTORY(typeName) \ - extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL \ - make##typeName(VclPtr<vcl::Window> &rRet, VclPtr<vcl::Window> &pParent, VclBuilder::stringmap &rMap) - #define VCL_BUILDER_FACTORY(typeName) \ - VCL_BUILDER_DECL_FACTORY(typeName) \ + extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL make##typeName(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap & rMap) \ { \ (void)rMap; \ rRet = VclPtr<typeName>::Create(pParent); \ } #define VCL_BUILDER_FACTORY_ARGS(typeName,arg1) \ - VCL_BUILDER_DECL_FACTORY(typeName) \ + extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL make##typeName(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap & rMap) \ { \ (void)rMap; \ rRet = VclPtr<typeName>::Create(pParent,arg1); \ } #define VCL_BUILDER_FACTORY_CONSTRUCTOR(typeName,arg2) \ - VCL_BUILDER_DECL_FACTORY(typeName) \ + extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL make##typeName(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap & rMap) \ { \ OUString sBorder = VclBuilder::extractCustomProperty(rMap); \ WinBits wb = arg2; \ |