summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-09-14 17:55:53 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-09-14 17:55:53 +0200
commit98daddfd67823a97c6e820357a2e2e8b111cf1ad (patch)
tree5a22c8ff1de19fd28036f53403a4a8ad3822f025
parent6dcc0967b83b77ab289abcb1a3531469c6444a93 (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.cxx5
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;
}