[Libreoffice-commits] .: basic/source

Caolán McNamara caolan at kemper.freedesktop.org
Sun Jan 23 10:22:18 PST 2011


 basic/source/classes/sbunoobj.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit edd98054dc07c730ae23923f0430fd3d4e057626
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jan 23 18:21:59 2011 +0000

    WaE: unused variable

diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 4cc8b0d..c80bc99 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -620,7 +620,6 @@ static void implSequenceToMultiDimArray( SbxDimArray*& pArray, Sequence< sal_Int
     Type aType = aValue.getValueType();
     TypeClass eTypeClass = aType.getTypeClass();
 
-    sal_Int32 indicesIndex = indices.getLength() -1;
     sal_Int32 dimCopy = dimension;
 
     if ( eTypeClass == TypeClass_SEQUENCE )
@@ -645,7 +644,6 @@ static void implSequenceToMultiDimArray( SbxDimArray*& pArray, Sequence< sal_Int
                     sizes.realloc( sizes.getLength() + 1 );
                     sizes[ sizes.getLength() - 1 ] = nLen;
                     indices.realloc( indices.getLength() + 1 );
-                    indicesIndex = indices.getLength() - 1;
                 }
             }
 


More information about the Libreoffice-commits mailing list