[Libreoffice-commits] .: 4 commits - io/source jvmfwk/plugins rdbmaker/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Jan 6 07:33:50 PST 2011


 io/source/stm/omark.cxx                    |    8 ++++----
 jvmfwk/plugins/sunmajor/pluginlib/util.cxx |    6 +++---
 rdbmaker/source/rdbmaker/rdbtype.cxx       |    2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 9980a12c0bd068df7a295ba43768906cafa7fd0e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jan 6 14:35:03 2011 +0000

    fix typo

diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx
index b4a325f..2740844 100644
--- a/io/source/stm/omark.cxx
+++ b/io/source/stm/omark.cxx
@@ -939,7 +939,7 @@ void OMarkableInputStream::checkMarksAndFlush()
     
     // find the smallest mark
     sal_Int32 nNextFound = m_nCurrentPos;
-    for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ii ) {
+    for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ++ii ) {
         if( (*ii).second <= nNextFound )  {
             nNextFound = (*ii).second;	
         }
commit 2571d265fb4e59396e5601b8698776dc296cf16a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jan 6 14:16:13 2011 +0000

    cppunit: prefer prefix variant

diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx
index 13ce6db..b4a325f 100644
--- a/io/source/stm/omark.cxx
+++ b/io/source/stm/omark.cxx
@@ -406,7 +406,7 @@ void OMarkableOutputStream::checkMarksAndFlush() throw( 	NotConnectedException,
 
     // find the smallest mark
     sal_Int32 nNextFound = m_nCurrentPos;
-    for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ii ++ ) {
+    for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ++ii ) {
         if( (*ii).second <= nNextFound )  {
             nNextFound = (*ii).second;
         }
@@ -415,7 +415,7 @@ void OMarkableOutputStream::checkMarksAndFlush() throw( 	NotConnectedException,
     if( nNextFound ) {
         // some data must be released !
         m_nCurrentPos -= nNextFound;
-        for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ii ++ ) {
+        for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ++ii ) {
             (*ii).second -= nNextFound;
         }
 
@@ -939,7 +939,7 @@ void OMarkableInputStream::checkMarksAndFlush()
     
     // find the smallest mark
     sal_Int32 nNextFound = m_nCurrentPos;
-    for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ii ++ ) {
+    for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ii ) {
         if( (*ii).second <= nNextFound )  {
             nNextFound = (*ii).second;	
         }
@@ -948,7 +948,7 @@ void OMarkableInputStream::checkMarksAndFlush()
     if( nNextFound ) {
         // some data must be released !
         m_nCurrentPos -= nNextFound;
-        for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ii ++ ) {
+        for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ++ii ) {
             (*ii).second -= nNextFound;
         }
                 
commit 29de2910746b4700ac33f6f480094a01f33df753
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jan 6 14:02:50 2011 +0000

    cppunit: prefer prefix variant

diff --git a/rdbmaker/source/rdbmaker/rdbtype.cxx b/rdbmaker/source/rdbmaker/rdbtype.cxx
index 4c8b8c8..8910731 100644
--- a/rdbmaker/source/rdbmaker/rdbtype.cxx
+++ b/rdbmaker/source/rdbmaker/rdbtype.cxx
@@ -98,7 +98,7 @@ sal_Bool produceDependedTypes(const OString& typeName,
                 exit(99);
             }
         }
-        iter++;
+        ++iter;
     }		
 
     return ret; 
commit 20d3b8efefc9764de1f476aee8adef38bef7596e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jan 6 14:01:56 2011 +0000

    cppunit: prefer prefix variant

diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
index 3612169..9d55a8e 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
@@ -705,7 +705,7 @@ bool getJREInfoFromBinPath(
             sBinPath = path.copy(0, path.getLength() - 1);
 
         typedef vector<OUString>::const_iterator c_it;
-        for (c_it i = vecPaths.begin(); i != vecPaths.end(); i++)
+        for (c_it i = vecPaths.begin(); i != vecPaths.end(); ++i)
         {
             //the map contains e.g. jre/bin/java.exe
             //get the directory where the executable is contained
@@ -901,7 +901,7 @@ rtl::Reference<VendorBase> getJREInfoByPath(
 
         bool bBreak = false;
         typedef vector<OUString>::const_iterator c_it;
-        for (c_it i = vecPaths.begin(); i != vecPaths.end(); i++)
+        for (c_it i = vecPaths.begin(); i != vecPaths.end(); ++i)
         {
             //if the path is a link, then resolve it
             //check if the executable exists at all
@@ -994,7 +994,7 @@ rtl::Reference<VendorBase> getJREInfoByPath(
     OUString sVendor(RTL_CONSTASCII_USTRINGPARAM("java.vendor"));
     OUString sVendorName;
                          
-    for (c_ip i = props.begin(); i != props.end(); i++)
+    for (c_ip i = props.begin(); i != props.end(); ++i)
     {
         if (sVendor.equals(i->first))
         {


More information about the Libreoffice-commits mailing list