Spreadsheet: replace obsolete href with hiddenref in binding

This commit is contained in:
Zheng, Lei
2022-06-12 21:23:30 +08:00
committed by Uwe
parent 7b0b83a2e4
commit 47a5a6302e

View File

@@ -1844,7 +1844,7 @@ void PropertySheet::setPathValue(const ObjectIdentifier &path, const boost::any
App::CellAddress targetTo = other->getCellAddress(
Py::Object(seq[2].ptr()).as_string().c_str(), false);
std::string expr(href?"href(":"");
std::string expr(href?"hiddenref(":"");
if(other != this) {
if(otherOwner->getDocument() == owner->getDocument())
expr += otherOwner->getNameInDocument();