summaryrefslogtreecommitdiff
path: root/embeddedobj/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-07-31 18:11:19 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-07-31 18:11:19 +0200
commit470b293417a84a6786ff99dcd3e8b71567b2913a (patch)
tree3a1052d26cc49efe12b1aabf01f3014c6da34477 /embeddedobj/source
parent268fe75e3326d7f2d105c9b915c82f9e6f510348 (diff)
Some cppcheck cleaning
Diffstat (limited to 'embeddedobj/source')
-rw-r--r--embeddedobj/source/msole/olecomponent.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx
index 2d21b886a42f..286821cbb21e 100644
--- a/embeddedobj/source/msole/olecomponent.cxx
+++ b/embeddedobj/source/msole/olecomponent.cxx
@@ -478,7 +478,7 @@ OleComponent::~OleComponent()
for ( FormatEtcList::iterator aIter = m_pNativeImpl->m_aFormatsList.begin();
aIter != m_pNativeImpl->m_aFormatsList.end();
- aIter++ )
+ ++aIter )
{
delete (*aIter);
(*aIter) = NULL;
@@ -500,7 +500,7 @@ FORMATETC* OleComponentNative_Impl::GetSupportedFormatForAspect( sal_uInt32 nReq
{
for ( FormatEtcList::iterator aIter = m_aFormatsList.begin();
aIter != m_aFormatsList.end();
- aIter++ )
+ ++aIter )
if ( (*aIter) && (*aIter)->dwAspect == nRequestedAspect )
return (*aIter);