diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-19 16:39:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-19 16:39:05 +0000 |
commit | bc221867dcab6415d635f0d7ba145012cf8d4e66 (patch) | |
tree | 1201907453592a5878c22e6768ee43d3dac29c9a | |
parent | cppcheck: uninit member variable (diff) | |
download | core-bc221867dcab6415d635f0d7ba145012cf8d4e66.tar.gz core-bc221867dcab6415d635f0d7ba145012cf8d4e66.zip |
prefix prefix variant
-rw-r--r-- | dtrans/source/generic/clipboardmanager.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dtrans/source/generic/clipboardmanager.cxx b/dtrans/source/generic/clipboardmanager.cxx index 9535803281a6..5fdc78b19f4a 100644 --- a/dtrans/source/generic/clipboardmanager.cxx +++ b/dtrans/source/generic/clipboardmanager.cxx @@ -177,7 +177,7 @@ Sequence< OUString > SAL_CALL ClipboardManager::listClipboardNames() ClipboardMap::iterator iter = m_aClipboardMap.begin(); ClipboardMap::iterator imax = m_aClipboardMap.end(); - for (sal_Int32 n = 0; iter != imax; iter++) + for (sal_Int32 n = 0; iter != imax; ++iter) aRet[n++] = iter->first; return aRet; @@ -209,7 +209,7 @@ void SAL_CALL ClipboardManager::dispose() ClipboardMap::iterator iter = aCopy.begin(); ClipboardMap::iterator imax = aCopy.end(); - for (; iter != imax; iter++) + for (; iter != imax; ++iter) { Reference< XComponent > xComponent(iter->second, UNO_QUERY); if (xComponent.is()) |