[Libreoffice-commits] .: sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Mar 25 08:42:20 PDT 2011
sc/source/filter/xml/xmlnexpi.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f99a5e1cfa92d1678ef0273ea937b2969ac0bb5a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Mar 25 15:42:04 2011 +0000
WaE: Index has to be unsigned
diff --git a/sc/source/filter/xml/xmlnexpi.cxx b/sc/source/filter/xml/xmlnexpi.cxx
index eeddb4b..1084dfe 100644
--- a/sc/source/filter/xml/xmlnexpi.cxx
+++ b/sc/source/filter/xml/xmlnexpi.cxx
@@ -87,7 +87,7 @@ void ScXMLNamedExpressionsContext::SheetLocalInserter::insert(ScMyNamedExpressio
ScRangeData* pData = new ScRangeData(
mpDoc, p->sName, p->sContent, aPos, RT_NAME, p->eGrammar);
- pData->SetIndex(-1);
+ pData->SetIndex(SAL_MAX_UINT16);
mrRangeName.insert(pData);
}
}
More information about the Libreoffice-commits
mailing list