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

fix for fdo#39792: changes to range names invalidate stream too

If we don't invalidate the table stream when we change the local range
name, the new range name will only be written if something else has been
changed in the sheet
üst 8b8f6835
......@@ -3054,6 +3054,10 @@ void ScTable::SetRangeName(ScRangeName* pNew)
{
delete mpRangeName;
mpRangeName = pNew;
//fdo#39792: mark stream as invalid, otherwise new ScRangeName will not be written to file
if (IsStreamValid())
SetStreamValid(false);
}
ScRangeName* ScTable::GetRangeName() const
......
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