diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/table2.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index b079128b2154..5e44461490b0 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -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 |