[Libreoffice-commits] .: stoc/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Dec 23 06:09:46 PST 2010


 stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b71abc9bd549ee887a704c65c5a0c78ad2c34df9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Dec 23 14:02:36 2010 +0000

    cppcheck: prefer prefix variant

diff --git a/stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx b/stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx
index ab0c586..f59e54b 100644
--- a/stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx
+++ b/stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx
@@ -169,7 +169,7 @@ TypeDescriptionEnumerationImpl::createInstance(
                         "- Caught InvalidRegistryException!" );
         }
 
-        it++;
+        ++it;
     }
 
     if ( !bOpenKeySucceeded )
@@ -243,7 +243,7 @@ TypeDescriptionEnumerationImpl::~TypeDescriptionEnumerationImpl()
             "- Caught exception!" );
         }
 
-        it++;
+        ++it;
     }
 
     g_moduleCount.modCnt.release( &g_moduleCount.modCnt );


More information about the Libreoffice-commits mailing list