diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-10-11 08:52:02 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-10-11 08:52:02 +0200 |
commit | c65ff0723f3b0df108bec006be6d5939d4999e10 (patch) | |
tree | f74a6c4f18c314c05b11f32d34f7c30c02ee8a88 /ucb | |
parent | tdf#94888: Accessing Sharepoint r/o share through UNC path does not work (diff) | |
download | core-c65ff0723f3b0df108bec006be6d5939d4999e10.tar.gz core-c65ff0723f3b0df108bec006be6d5939d4999e10.zip |
cppcheck: Prefer prefix ++/-- operators for non-primitive types
Change-Id: I93b65c89cc7475460e0e7339f939cc058f36f0da
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.cxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index c4581e1638c9..2c1705c57f14 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 ae1663e11b1a..275f8c50c6d3 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 ) { |