[Libreoffice-commits] core.git: sw/source ucb/source

Julien Nabet serval2412 at yahoo.fr
Mon Jun 3 14:04:12 PDT 2013


 sw/source/core/unocore/unoobj2.cxx      |    2 +-
 ucb/source/ucp/webdav/webdavcontent.cxx |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit d7904330fd38af65b4448045909f42a3c0a994bb
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Jun 3 23:03:43 2013 +0200

    Prefer prefix ++/-- operators for non-primitive types
    
    Change-Id: I1310ac912aa2031b15851339fd84d435308350a9

diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx
index 7b46c17..973cbe7 100644
--- a/sw/source/core/unocore/unoobj2.cxx
+++ b/sw/source/core/unocore/unoobj2.cxx
@@ -1877,7 +1877,7 @@ SwXParaFrameEnumeration::SwXParaFrameEnumeration(
             //get all frames that are bound at paragraph or at character
             SwPosFlyFrms aFlyFrms(rPaM.GetDoc()->GetAllFlyFmts(m_pImpl->GetCursor(), false, true));
 
-            for(SwPosFlyFrms::const_iterator aIter(aFlyFrms.begin()); aIter != aFlyFrms.end(); aIter++)
+            for(SwPosFlyFrms::const_iterator aIter(aFlyFrms.begin()); aIter != aFlyFrms.end(); ++aIter)
             {
                 SwFrmFmt *const pFrmFmt = const_cast<SwFrmFmt*>(&((*aIter)->GetFmt()));
 
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx
index 8bc4d69..3f5691f 100644
--- a/ucb/source/ucp/webdav/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav/webdavcontent.cxx
@@ -94,7 +94,7 @@ static void lcl_sendPartialGETRequest( bool &bError,
             rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "bytes=0-0" ))));
 
     for ( std::vector< rtl::OUString >::const_iterator it = aHeaderNames.begin();
-            it != aHeaderNames.end(); it++ )
+            it != aHeaderNames.end(); ++it )
     {
         if ( it->equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Content-Length" ) ) )
         {
@@ -126,7 +126,7 @@ static void lcl_sendPartialGETRequest( bool &bError,
             rtl::OUString aAcceptRanges, aContentRange, aContentLength;
             std::vector< DAVPropertyValue > &aResponseProps = aResource.properties;
             for ( std::vector< DAVPropertyValue >::const_iterator it = aResponseProps.begin();
-                    it != aResponseProps.end(); it++ )
+                    it != aResponseProps.end(); ++it )
             {
                 if ( it->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Accept-Ranges" ) ) )
                     it->Value >>= aAcceptRanges;
@@ -160,7 +160,7 @@ static void lcl_sendPartialGETRequest( bool &bError,
                     if ( !aSize.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "*" )))
                     {
                         for ( std::vector< DAVPropertyValue >::iterator it = aResponseProps.begin();
-                                it != aResponseProps.end(); it++ )
+                                it != aResponseProps.end(); ++it )
                         {
                             if ( it->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Content-Length" ) ) )
                             {


More information about the Libreoffice-commits mailing list