summaryrefslogtreecommitdiff
path: root/unodevtools/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-24 13:27:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-24 13:27:55 +0000
commit87d83f4870a47e4ad4a1b74e1d0c1f604d0f518b (patch)
tree151090e2128823d67043f054d99a90acea7b1256 /unodevtools/source
parent0d0098749ea22312819d02100449689f47816bde (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'unodevtools/source')
-rw-r--r--unodevtools/source/skeletonmaker/cppcompskeleton.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
index b8af603c0212..cd6f42f4e027 100644
--- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
@@ -71,7 +71,7 @@ void generateIncludes(std::ostream & o,
o << "#include \""
<< ((*iter).replace('.', '/').getStr())
<< ".hpp\"\n";
- iter++;
+ ++iter;
}
}
@@ -168,7 +168,7 @@ void generateCompHelperDefinition(std::ostream & o,
o << " s[" << i++ << "] = ::rtl::OUString("
<< "RTL_CONSTASCII_USTRINGPARAM(\n \""
<< (*iter).replace('/','.') << "\"));\n";
- iter++;
+ ++iter;
}
o << " return s;\n}\n\n";
@@ -449,7 +449,7 @@ void generateXDispatch(std::ostream& o,
}
o << " }\n";
- iter++;
+ ++iter;
}
o << "}\n\n";
@@ -493,7 +493,7 @@ void generateXDispatchProvider(std::ostream& o,
}
o << " }\n";
- iter++;
+ ++iter;
}
o << " return xRet;\n}\n\n";
@@ -662,7 +662,7 @@ OString generateClassDefinition(std::ostream& o,
while (iter != interfaces.end())
{
o << "\n " << scopedCppName(*iter, false, true);
- iter++;
+ ++iter;
if (iter != interfaces.end())
o << ",";
else
@@ -703,7 +703,7 @@ OString generateClassDefinition(std::ostream& o,
while (iter != interfaces.end())
{
buffer.append(scopedCppName(*iter, false, true));
- iter++;
+ ++iter;
if (iter != interfaces.end())
buffer.append(", ");
else
@@ -724,7 +724,7 @@ OString generateClassDefinition(std::ostream& o,
typereg::Reader reader(manager.getTypeReader((*it).replace('.','/')));
printMethods(o, options, manager, reader, generated, "", "", " ",
true, propertyhelper);
- it++;
+ ++it;
}
o << "private:\n " << classname << "(const " << classname << " &); // not defined\n"
@@ -814,7 +814,7 @@ OString generateClassDefinition(std::ostream& o,
interfaces.begin();
while (iter != interfaces.end()) {
o << "\n " << scopedCppName(*iter, false, true);
- iter++;
+ ++iter;
if (iter != interfaces.end())
o << ",";
else
@@ -915,7 +915,7 @@ void generateMethodBodies(std::ostream& o,
printMethods(o, options, manager, reader, generated, "_",
name, "", true, propertyhelper);
}
- iter++;
+ ++iter;
}
}
@@ -945,7 +945,7 @@ void generateQueryInterface(std::ostream& o,
while (iter != interfaces.end())
{
o << "\n " << scopedCppName(*iter, false, true);
- iter++;
+ ++iter;
if (iter != interfaces.end())
o << ",";
else
@@ -991,7 +991,7 @@ void generateSkeleton(ProgramOptions const & options,
std::vector< OString >::const_iterator iter = types.begin();
while (iter != types.end()) {
checkType(manager, *iter, interfaces, services, properties);
- iter++;
+ ++iter;
}
if (options.componenttype == 3) {
@@ -1125,7 +1125,7 @@ void generateCalcAddin(ProgramOptions const & options,
std::vector< OString >::const_iterator iter = types.begin();
while (iter != types.end()) {
checkType(manager, *iter, interfaces, services, properties);
- iter++;
+ ++iter;
}
OString sAddinService;