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 | |
parent | 268fe75e3326d7f2d105c9b915c82f9e6f510348 (diff) |
Some cppcheck cleaning
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/msole/olecomponent.cxx | 4 | ||||
-rw-r--r-- | embeddedobj/test/MainThreadExecutor/xexecutor.hxx | 2 |
2 files changed, 3 insertions, 3 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); diff --git a/embeddedobj/test/MainThreadExecutor/xexecutor.hxx b/embeddedobj/test/MainThreadExecutor/xexecutor.hxx index 7bfbbfbefbf1..4b200d33eecc 100644 --- a/embeddedobj/test/MainThreadExecutor/xexecutor.hxx +++ b/embeddedobj/test/MainThreadExecutor/xexecutor.hxx @@ -81,7 +81,7 @@ public: DECL_LINK( executor, void* ); - sal_Bool isExecuted() { return m_bExecuted; } + sal_Bool isExecuted() const { return m_bExecuted; } }; #endif |