diff options
author | Eike Rathke <erack@redhat.com> | 2015-06-17 00:04:30 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-08-06 12:22:55 +0200 |
commit | 7475ef2bca781e1b7b0e53805eb94377fe485a32 (patch) | |
tree | 1d9ce9f58f669c2ea8423696385ef11c26e7b234 /sc/inc | |
parent | aa7ab9718a556099b05b192cc6d3bfd2eb2120ef (diff) |
Resolves: tdf#86305 clone upper left of matrix result if double token
Change-Id: I541577e0b99b0144a755e5755adc890c0ca8d204
(cherry picked from commit ffc1ffed11dc63a69fc2db04f12b3ea266b580fe)
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/token.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx index 4662074ce089..63584c70aa43 100644 --- a/sc/inc/token.hxx +++ b/sc/inc/token.hxx @@ -381,6 +381,12 @@ public: /** Reset matrix and upper left, keep matrix formula dimension. */ void ResetResult(); + +private: + + /** xUpperLeft is modifiable through SetUpperLeftDouble(), so clone it + whenever an svDouble token is assigned to. */ + void CloneUpperLeftIfNecessary(); }; class SC_DLLPUBLIC ScHybridCellToken : public formula::FormulaToken |