diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-10-13 16:06:44 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-10-13 16:08:09 +0200 |
commit | 72fe2e3003b89b4d6bc7a87e0dc5ce85dd043b45 (patch) | |
tree | 056d02659d12889e2609a6349912ef4a3f7466b3 /ucb | |
parent | 64ab96cd15e52da88781e720d6f031dbcd0ba902 (diff) |
Prefer prefix ++/-- operators for non-primitive types
+ replace "<" by "!=" for end iterator comparison with current it
Change-Id: I6e90caa8752c7057cca8c74fca12c0a050544dbb
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav/DAVResourceAccess.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav/webdavcontentcaps.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav/webdavdatasupplier.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav/DAVResourceAccess.cxx b/ucb/source/ucp/webdav/DAVResourceAccess.cxx index 063ad2143d7d..4f1d5152d77b 100644 --- a/ucb/source/ucp/webdav/DAVResourceAccess.cxx +++ b/ucb/source/ucp/webdav/DAVResourceAccess.cxx @@ -1116,7 +1116,7 @@ sal_Bool DAVResourceAccess::detectRedirectCycle( if ( aUri == (*it) ) return sal_True; - it++; + ++it; } return sal_False; diff --git a/ucb/source/ucp/webdav/webdavcontentcaps.cxx b/ucb/source/ucp/webdav/webdavcontentcaps.cxx index 76da92893613..04b76c5e950d 100644 --- a/ucb/source/ucp/webdav/webdavcontentcaps.cxx +++ b/ucb/source/ucp/webdav/webdavcontentcaps.cxx @@ -429,7 +429,7 @@ uno::Sequence< beans::Property > Content::getProperties( { bHasCreatableInfos = sal_True; } - it++; + ++it; } } diff --git a/ucb/source/ucp/webdav/webdavdatasupplier.cxx b/ucb/source/ucp/webdav/webdavdatasupplier.cxx index bb4c396d4b5b..c082b835cb68 100644 --- a/ucb/source/ucp/webdav/webdavdatasupplier.cxx +++ b/ucb/source/ucp/webdav/webdavdatasupplier.cxx @@ -105,7 +105,7 @@ DataSupplier_Impl::~DataSupplier_Impl() while ( it != end ) { delete (*it); - it++; + ++it; } } @@ -370,7 +370,7 @@ sal_Bool DataSupplier::getData() if ( (*it).equals( DAVProperties::RESOURCETYPE ) ) break; - it++; + ++it; } if ( it == end ) |