[Libreoffice-commits] core.git: ucb/source
Julien Nabet
serval2412 at yahoo.fr
Sat Oct 10 23:52:30 PDT 2015
ucb/source/ucp/webdav-neon/NeonSession.cxx | 6 +++---
ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit c65ff0723f3b0df108bec006be6d5939d4999e10
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Oct 11 08:52:02 2015 +0200
cppcheck: Prefer prefix ++/-- operators for non-primitive types
Change-Id: I93b65c89cc7475460e0e7339f939cc058f36f0da
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index c4581e1..2c1705c 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -832,7 +832,7 @@ void NeonSession::PROPFIND( const OUString & inPath,
SAL_INFO( "ucb.ucp.webdav", "PROPFIND - inPath: <" << inPath << "> inDepth: " << inDepth );
OUString aProps;
for(std::vector< OUString >::const_iterator it = inPropNames.begin();
- it < inPropNames.end(); it++)
+ it < inPropNames.end(); ++it)
{
aProps += *it;
aProps += ", ";
@@ -880,11 +880,11 @@ void NeonSession::PROPFIND( const OUString & inPath,
#if defined SAL_LOG_INFO
{ //debug
for ( std::vector< DAVResourceInfo >::const_iterator itres = ioResInfo.begin();
- itres < ioResInfo.end(); itres++)
+ itres < ioResInfo.end(); ++itres)
{
OUString aProps;
for ( std::vector< OUString >::const_iterator it = (*itres).properties.begin();
- it < (*itres).properties.end(); it++)
+ it < (*itres).properties.end(); ++it)
{
aProps += *it;
aProps += ", ";
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index ae1663e..275f8c5 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -2842,7 +2842,7 @@ Content::ResourceType Content::resourceTypeForLocks(
std::vector< DAVPropertyValue >::iterator it;
for ( it = resources[0].properties.begin();
- it != resources[0].properties.end(); it++)
+ it != resources[0].properties.end(); ++it)
{
if ( (*it).Name == DAVProperties::SUPPORTEDLOCK )
{
More information about the Libreoffice-commits
mailing list