[Libreoffice-commits] .: xmloff/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Dec 30 13:04:55 PST 2010


 xmloff/source/core/xmlerror.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d6ddd10dc5fa21d140793d6c81c831b6484eb413
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Dec 30 21:04:49 2010 +0000

    cppcheck: prefer prefix variant

diff --git a/xmloff/source/core/xmlerror.cxx b/xmloff/source/core/xmlerror.cxx
index ea0e951..91247b0 100644
--- a/xmloff/source/core/xmlerror.cxx
+++ b/xmloff/source/core/xmlerror.cxx
@@ -242,7 +242,7 @@ void XMLErrors::ThrowErrorAsSAXException(sal_Int32 nIdMask)
     // search first error/warning that matches the nIdMask
     for( ErrorList::iterator aIter = aErrors.begin();
          aIter != aErrors.end();
-         aIter++ )
+         ++aIter )
     {
         if ( (aIter->nId & nIdMask) != 0 )
         {


More information about the Libreoffice-commits mailing list