[Libreoffice-commits] .: sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Fri Mar 25 20:38:18 PDT 2011


 sc/source/filter/xml/xmlnexpi.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 36eabdcf11e92a0a9c2365d4d28d38598e89eb0e
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Fri Mar 25 23:35:17 2011 -0400

    Let's not assign an index here, but have one auto-generated on insertion.

diff --git a/sc/source/filter/xml/xmlnexpi.cxx b/sc/source/filter/xml/xmlnexpi.cxx
index 1084dfe..ce33d78 100644
--- a/sc/source/filter/xml/xmlnexpi.cxx
+++ b/sc/source/filter/xml/xmlnexpi.cxx
@@ -87,7 +87,6 @@ void ScXMLNamedExpressionsContext::SheetLocalInserter::insert(ScMyNamedExpressio
 
             ScRangeData* pData = new ScRangeData(
                 mpDoc, p->sName, p->sContent, aPos, RT_NAME, p->eGrammar);
-            pData->SetIndex(SAL_MAX_UINT16);
             mrRangeName.insert(pData);
         }
     }


More information about the Libreoffice-commits mailing list