[Libreoffice-commits] .: basic/source

Caolán McNamara caolan at kemper.freedesktop.org
Sat Jan 1 13:03:47 PST 2011


 basic/source/runtime/methods.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 20d6349287f340240a977b92dae127f7216f0c56
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 1 21:03:34 2011 +0000

    cppcheck: prefer prefix variant

diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 0206e19..f3d0374 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -3588,7 +3588,7 @@ RTLFUNC(Shell)
         ::rtl::OUString aOUStrProg( rStr.GetBuffer(), rStr.Len() );
         ::rtl::OUString aOUStrProgUNC = getFullPathUNC( aOUStrProg );
 
-        iter++;
+        ++iter;
 
         USHORT nParamCount = sal::static_int_cast< USHORT >(
             aTokenList.size() - 1 );


More information about the Libreoffice-commits mailing list