[Libreoffice-commits] .: sc/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Dec 13 12:53:34 PST 2010


 sc/source/core/tool/stringutil.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8124f6af1dc7e8260823dc54386ee7497cff5ce6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Dec 13 20:53:21 2010 +0000

    WaE, shadowed warning

diff --git a/sc/source/core/tool/stringutil.cxx b/sc/source/core/tool/stringutil.cxx
index dbd9306..83e31f7 100644
--- a/sc/source/core/tool/stringutil.cxx
+++ b/sc/source/core/tool/stringutil.cxx
@@ -80,7 +80,7 @@ bool ScStringUtil::parseSimpleNumber(
 
     n -= i; // Subtract the length of preceding space.
 
-    for (sal_Int32 i = 0; i < n; ++i, ++p)
+    for (i = 0; i < n; ++i, ++p)
     {
         sal_Unicode c = *p;
         if (c == 0x00A0)


More information about the Libreoffice-commits mailing list