Kaydet (Commit) f78a6ae8 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

see 792dee46

üst c305f3cd
...@@ -187,9 +187,10 @@ void adjustRangeName(ScToken* pToken, ScDocument& rNewDoc, const ScDocument* pOl ...@@ -187,9 +187,10 @@ void adjustRangeName(ScToken* pToken, ScDocument& rNewDoc, const ScDocument* pOl
if (!bInserted) if (!bInserted)
{ {
//if this happened we have a real problem //if this happened we have a real problem
delete pRangeData; pRangeData = NULL;
pToken->SetIndex(-1); pToken->SetIndex(0);
OSL_FAIL("inserting the range name should not fail"); OSL_FAIL("inserting the range name should not fail");
return;
} }
} }
sal_Int32 nIndex = pRangeData->GetIndex(); sal_Int32 nIndex = pRangeData->GetIndex();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment