diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-07-31 18:11:19 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-07-31 18:11:19 +0200 |
commit | 470b293417a84a6786ff99dcd3e8b71567b2913a (patch) | |
tree | 3a1052d26cc49efe12b1aabf01f3014c6da34477 /embeddedobj/source | |
parent | 268fe75e3326d7f2d105c9b915c82f9e6f510348 (diff) |
Some cppcheck cleaning
Diffstat (limited to 'embeddedobj/source')
-rw-r--r-- | embeddedobj/source/msole/olecomponent.cxx | 4 |
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); |