For now, we only import normal named expressions in sheet local scope.
This commit is contained in:
parent
50da3d1e56
commit
596fcdebaa
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,10 @@ void ScXMLNamedExpressionsContext::SheetLocalInserter::insert(ScMyNamedExpressio
|
|||
|
||||
::boost::scoped_ptr<ScMyNamedExpression> p(pExp);
|
||||
|
||||
if (p->sRangeType.getLength() > 0)
|
||||
// For now, we only accept normal named expressions.
|
||||
return;
|
||||
|
||||
if (mpDoc && !mrRangeName.findByName(p->sName))
|
||||
{
|
||||
// Insert a new name.
|
||||
|
|
Loading…
Reference in a new issue