App: Removed VariableExpression::setName(), and replace call by setPath(); it's use caused a crash (#2352).
This commit is contained in:
parent
c67b2bed45
commit
4b5ae54e88
|
@ -349,8 +349,6 @@ public:
|
|||
|
||||
void setPath(const ObjectIdentifier & path);
|
||||
|
||||
void setName(const std::string & name) { assert(0); }
|
||||
|
||||
void renameDocumentObject(const std::string & oldName, const std::string & newName);
|
||||
|
||||
void renameDocument(const std::string &oldName, const std::string &newName);
|
||||
|
|
|
@ -579,7 +579,7 @@ public:
|
|||
if (thisRow >= mRow || thisCol >= mCol) {
|
||||
thisRow += mRowCount;
|
||||
thisCol += mColCount;
|
||||
varExpr->setName(columnName(thisCol) + rowName(thisRow));
|
||||
varExpr->setPath(ObjectIdentifier(varExpr->getOwner(), columnName(thisCol) + rowName(thisRow)));
|
||||
mChanged = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user