diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-09-14 17:55:53 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-09-14 17:55:53 +0200 |
commit | 98daddfd67823a97c6e820357a2e2e8b111cf1ad (patch) | |
tree | 5a22c8ff1de19fd28036f53403a4a8ad3822f025 | |
parent | 6dcc0967b83b77ab289abcb1a3531469c6444a93 (diff) |
fda#35965: Mark all formula cells dirty when appending a new sheet
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | sc/source/core/data/document.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index fa8031154..48cf99b19 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -406,13 +406,16 @@ sal_Bool ScDocument::InsertTab( SCTAB nPos, const String& rName, if ( pChartListenerCollection ) pChartListenerCollection->UpdateScheduledSeriesRanges(); - SetDirty(); bValid = sal_True; } else bValid = false; } } + + if (bValid) + SetDirty(); + return bValid; } |