From 27182231acd3a0c9898a8dba78b76dc8a827b4c0 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 30 Jul 2014 13:51:28 -0400 Subject: 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 --- sc/inc/tokenarray.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sc/inc/tokenarray.hxx') diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx index 8ae61450c95a..97623647f9d2 100644 --- a/sc/inc/tokenarray.hxx +++ b/sc/inc/tokenarray.hxx @@ -152,11 +152,8 @@ public: * Move reference positions that are within specified moved range. * * @param rPos position of this formula cell - * @param rMovedRange range that has been moved. - * @param rDelta movement vector. */ - void MoveReference( - const ScAddress& rPos, const ScRange& rMovedRange, const ScAddress& rDelta ); + sc::RefUpdateResult MoveReference( const ScAddress& rPos, const sc::RefUpdateContext& rCxt ); /** * Move reference positions in response to column reordering. A range -- cgit