summaryrefslogtreecommitdiff
path: root/embeddedobj
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
parent268fe75e3326d7f2d105c9b915c82f9e6f510348 (diff)
Some cppcheck cleaning
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/source/msole/olecomponent.cxx4
-rw-r--r--embeddedobj/test/MainThreadExecutor/xexecutor.hxx2
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