From d2cc2887d23c8150d302100fd5e09f0448dbe699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 25 Mar 2011 15:42:04 +0000 Subject: [PATCH] WaE: Index has to be unsigned --- sc/source/filter/xml/xmlnexpi.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/filter/xml/xmlnexpi.cxx b/sc/source/filter/xml/xmlnexpi.cxx index 2faf5edfdcda..dae0b63e853c 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); } }