[Libreoffice-commits] .: 3 commits - odk/examples unodevtools/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Dec 23 13:13:05 PST 2010
odk/examples/cpp/complextoolbarcontrols/ListenerHelper.cxx | 6 ++--
unodevtools/source/skeletonmaker/javacompskeleton.cxx | 16 ++++++-------
unodevtools/source/unodevtools/typemanager.cxx | 2 -
3 files changed, 12 insertions(+), 12 deletions(-)
New commits:
commit c5c6ba45d829d7a63faf4173be9a13795add99d8
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 23 20:57:31 2010 +0000
cppcheck: prefer prefix variant
diff --git a/unodevtools/source/skeletonmaker/javacompskeleton.cxx b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
index 898b7d6..16c6d2d 100644
--- a/unodevtools/source/skeletonmaker/javacompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
@@ -467,7 +467,7 @@ void generateXDispatchBodies(std::ostream& o, ProgramOptions const & options)
}
o << " }\n";
- iter++;
+ ++iter;
}
o << " }\n\n";
@@ -503,7 +503,7 @@ void generateXDispatchProviderBodies(std::ostream& o, ProgramOptions const & opt
}
o << " }\n";
- iter++;
+ ++iter;
}
o << " return null;\n }\n\n";
@@ -532,7 +532,7 @@ void generateMethodBodies(std::ostream& o,
codemaker::GeneratedTypeSet generated;
while (iter != interfaces.end()) {
OString type(*iter);
- iter++;
+ ++iter;
if (type.equals("com.sun.star.lang.XServiceInfo")) {
generateXServiceInfoBodies(o);
generated.add(type);
@@ -764,7 +764,7 @@ void generateClassDefinition(std::ostream& o,
interfaces.begin();
while (iter != interfaces.end()) {
o << (*iter);
- iter++;
+ ++iter;
if (iter != interfaces.end())
o << ",\n ";
}
@@ -791,7 +791,7 @@ void generateClassDefinition(std::ostream& o,
services.begin();
while (iter != services.end()) {
o << " \"" << (*iter).replace('/','.') << "\"";
- iter++;
+ ++iter;
if (iter != services.end())
o << ",\n";
else
@@ -809,7 +809,7 @@ void generateClassDefinition(std::ostream& o,
printType(o, options, manager, iter->second.first.replace('.','/'),
false, false);
o << " m_" << iter->first << ";\n";
- iter++;
+ ++iter;
}
} else if (!attributes.empty()) {
AttributeInfo::const_iterator iter =
@@ -823,7 +823,7 @@ void generateClassDefinition(std::ostream& o,
printType(o, options, manager, iter->second.first.replace('.','/'),
false, true);
o <<";\n";
- iter++;
+ ++iter;
}
}
@@ -875,7 +875,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) {
commit 2c05f470c3db80ae7d0fcfd3552cc08c7a0463fd
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 23 16:36:43 2010 +0000
cppcheck: prefer prefix variant
diff --git a/unodevtools/source/unodevtools/typemanager.cxx b/unodevtools/source/unodevtools/typemanager.cxx
index c787b3f..70c1610 100644
--- a/unodevtools/source/unodevtools/typemanager.cxx
+++ b/unodevtools/source/unodevtools/typemanager.cxx
@@ -142,7 +142,7 @@ sal_Bool UnoTypeManager::init(
sal_True, sal_False);
seqArgs[i++] = makeAny(xReg);
- iter++;
+ ++iter;
}
Reference< XHierarchicalNameAccess > xTDProvider(
commit 414c508686fde53c76af552c0961f7a6bbb1f44b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 23 16:31:11 2010 +0000
cppcheck: prefer prefix variant
diff --git a/odk/examples/cpp/complextoolbarcontrols/ListenerHelper.cxx b/odk/examples/cpp/complextoolbarcontrols/ListenerHelper.cxx
index fa0a905..5270c44 100644
--- a/odk/examples/cpp/complextoolbarcontrols/ListenerHelper.cxx
+++ b/odk/examples/cpp/complextoolbarcontrols/ListenerHelper.cxx
@@ -75,7 +75,7 @@ void ListenerHelper::RemoveListener(
break;
}
- aIter++;
+ ++aIter;
}
}
}
@@ -97,7 +97,7 @@ void ListenerHelper::Notify(
while ( aIter != aL.end() )
{
(*aIter)->statusChanged( rEvent );
- aIter++;
+ ++aIter;
}
}
}
@@ -140,7 +140,7 @@ void SAL_CALL ListenerItemEventListener::disposing( const EventObject& aEvent) t
break;
}
- aIter++;
+ ++aIter;
}
}
More information about the Libreoffice-commits
mailing list