diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-07-30 13:51:28 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-07-31 09:05:18 -0400 |
commit | 27182231acd3a0c9898a8dba78b76dc8a827b4c0 (patch) | |
tree | 02b853f50d4201799a28f85a40de1d171db73333 /sc/inc/document.hxx | |
parent | fdo#78555: Write test for this first. (diff) | |
download | core-27182231acd3a0c9898a8dba78b76dc8a827b4c0.tar.gz core-27182231acd3a0c9898a8dba78b76dc8a827b4c0.zip |
fdo#78555: Retain formula results when moving a range of cells.
* No need to re-compile RPN token array on reference change alone. We do that
when the formula contains one or more names that have been updated.
* Adjust undo code to get it to work without relying on ref undo document,
which would cause the token arrays to be unnecessarily recompiled.
* Whatever else need to be changed in order to pass all unit tests.
Change-Id: I99e86d23320aca8900fef011da23a9d34e42751e
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r-- | sc/inc/document.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 0dc3239441b3..6bfb13887176 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -1876,6 +1876,8 @@ public: void EndListeningCell( sc::EndListeningContext& rCxt, const ScAddress& rPos, SvtListener& rListener ); void EndListeningFormulaCells( std::vector<ScFormulaCell*>& rCells ); + void CollectAllAreaListeners( + std::vector<SvtListener*>& rListeners, const ScRange& rRange, sc::AreaOverlapType eType ); void PutInFormulaTree( ScFormulaCell* pCell ); void RemoveFromFormulaTree( ScFormulaCell* pCell ); |