[Libreoffice-commits] .: dtrans/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Dec 19 08:44:59 PST 2010
dtrans/source/generic/clipboardmanager.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit b9a3972c80ace76a6aab0b19616a0d4c346405e5
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Dec 19 16:39:05 2010 +0000
prefix prefix variant
diff --git a/dtrans/source/generic/clipboardmanager.cxx b/dtrans/source/generic/clipboardmanager.cxx
index 8344c23..a8d14d4 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())
More information about the Libreoffice-commits
mailing list