[Libreoffice-commits] .: sc/source

Caolán McNamara caolan at kemper.freedesktop.org
Sun Dec 5 03:35:11 PST 2010


 sc/source/filter/rtf/rtfparse.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 8f5498c845a5faa981b6e914a15406285bb7293d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Dec 5 11:35:04 2010 +0000

    WaE, shadowed variable names

diff --git a/sc/source/filter/rtf/rtfparse.cxx b/sc/source/filter/rtf/rtfparse.cxx
index 513b0b5..91f2102 100644
--- a/sc/source/filter/rtf/rtfparse.cxx
+++ b/sc/source/filter/rtf/rtfparse.cxx
@@ -250,8 +250,7 @@ void ScRTFParser::NewCellRow( ImportInfo* /*pInfo*/ )
                 ColAdjust();
         }
         // TwipCols aufbauen, erst nach nLastWidth Vergleich!
-        size_t ListSize = pDefaultList->size();
-        for ( size_t i = 0; i < ListSize; ++i )
+        for ( size_t i = 0, nListSize = pDefaultList->size(); i < nListSize; ++i )
         {
             pD = &( pDefaultList->at( i ) );
             SCCOL n;


More information about the Libreoffice-commits mailing list