diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:18 +0200 |
commit | 286dfc2a720ea8bd6b26c10126202fa25a112e0f (patch) | |
tree | 4b179846f09fa0be53f9cd6e078b7d0b79b92392 /unodevtools | |
parent | 3553a5d3a899954c4db09e264d8faf07e817e564 (diff) |
loplugin: defaultparams
Change-Id: I50ba6a836473961d952ed88e56532501469c5368
Diffstat (limited to 'unodevtools')
4 files changed, 6 insertions, 6 deletions
diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx index 1a6346144a14..f9137b0a4a6d 100644 --- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx +++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx @@ -607,7 +607,7 @@ void generateMemberDeclaration(std::ostream& o, i != members.end(); ++i) { o << " "; - printType(o, options, manager, i->type, 1, false); + printType(o, options, manager, i->type, 1); o << " m_" << i->name << ";\n"; } } @@ -934,7 +934,7 @@ void generateQueryInterface(std::ostream& o, o << "::cppu::OPropertySetHelper::queryInterface(type));\n"; } else { o << "::cppu::PropertySetMixin<\n "; - printType(o, options, manager, propertyhelper, 0, false); + printType(o, options, manager, propertyhelper, 0); o << " >::queryInterface(\n type));\n"; } } diff --git a/unodevtools/source/skeletonmaker/cpptypemaker.cxx b/unodevtools/source/skeletonmaker/cpptypemaker.cxx index 283e477f24ed..02c356697764 100644 --- a/unodevtools/source/skeletonmaker/cpptypemaker.cxx +++ b/unodevtools/source/skeletonmaker/cpptypemaker.cxx @@ -103,7 +103,7 @@ void printType( if (i != arguments.begin()) o << ", "; - printType(o, options, manager, *i, 1, false); + printType(o, options, manager, *i, 1); } o << " >"; } diff --git a/unodevtools/source/skeletonmaker/javacompskeleton.cxx b/unodevtools/source/skeletonmaker/javacompskeleton.cxx index 567916322b36..f51de585365b 100644 --- a/unodevtools/source/skeletonmaker/javacompskeleton.cxx +++ b/unodevtools/source/skeletonmaker/javacompskeleton.cxx @@ -765,7 +765,7 @@ void generateClassDefinition(std::ostream& o, o << " // properties\n"; while (iter != properties.end()) { o << " protected "; - printType(o, options, manager, iter->type, false, false); + printType(o, options, manager, iter->type, false); o << " m_" << iter->name << ";\n"; ++iter; } @@ -775,7 +775,7 @@ void generateClassDefinition(std::ostream& o, o << " // attributes\n"; while (iter != attributes.end()) { o << " private "; - printType(o, options, manager, iter->type, false, false); + printType(o, options, manager, iter->type, false); o << " m_" << iter->name << " = "; printType(o, options, manager, iter->type, false, true); o <<";\n"; diff --git a/unodevtools/source/skeletonmaker/javatypemaker.cxx b/unodevtools/source/skeletonmaker/javatypemaker.cxx index a8e2ebfa0fe9..6a5aaab79a5e 100644 --- a/unodevtools/source/skeletonmaker/javatypemaker.cxx +++ b/unodevtools/source/skeletonmaker/javatypemaker.cxx @@ -89,7 +89,7 @@ void printType( if (i != arguments.begin()) { o << ", "; } - printType(o, options, manager, *i, true, false); + printType(o, options, manager, *i, true); } o << '>'; } |