diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2016-11-05 10:23:52 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2016-11-05 13:05:01 -0400 |
commit | da534e882225b0533471ffd9c4f7031122378969 (patch) | |
tree | 332dc918a034fdf6356bbd808325519c72fbec00 /sc/inc | |
parent | d034f273cb24ebe4fde20ad9089ac11cccf316d0 (diff) |
Pass the current cell position to conditionally display sheet name.
Change-Id: I28dba90500af7c11db569fded28ce571a1ec9089
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/formulalogger.hxx | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/sc/inc/formulalogger.hxx b/sc/inc/formulalogger.hxx index 1df49cc754d7..5d5502f103ce 100644 --- a/sc/inc/formulalogger.hxx +++ b/sc/inc/formulalogger.hxx @@ -85,19 +85,24 @@ public: * Add to the log a vector reference information for a single * reference. */ - void addRefMessage( const ScAddress& rPos, size_t nLen, const formula::VectorRefArray& rArray ); + void addRefMessage( + const ScAddress& rCellPos, const ScAddress& rRefPos, size_t nLen, + const formula::VectorRefArray& rArray ); /** * Add to the log a vector reference information for a range * reference. */ void addRefMessage( - const ScAddress& rPos, size_t nLen, const std::vector<formula::VectorRefArray>& rArrays ); + const ScAddress& rCellPos, const ScAddress& rRefPos, size_t nLen, + const std::vector<formula::VectorRefArray>& rArrays ); /** * Add to the log a single cell reference information. */ - void addRefMessage( const ScAddress& rPos, const formula::FormulaToken& rToken ); + void addRefMessage( + const ScAddress& rCellPos, const ScAddress& rRefPos, + const formula::FormulaToken& rToken ); /** * Call this when the group calculation has finished successfullly. @@ -134,20 +139,22 @@ public: void addMessage( const OUString& /*rMsg*/ ) { (void) this; /* loplugin:staticmethods */ } void addRefMessage( - const ScAddress& /*rPos*/, size_t /*nLen*/, + const ScAddress& /*rCellPos*/, const ScAddress& /*rRefPos*/, size_t /*nLen*/, const formula::VectorRefArray& /*rArray*/ ) { (void) this; /* loplugin:staticmethods */ } void addRefMessage( - const ScAddress& /*rPos*/, size_t /*nLen*/, + const ScAddress& /*rCellPos*/, const ScAddress& /*rRefPos*/, size_t /*nLen*/, const std::vector<formula::VectorRefArray>& /*rArrays*/ ) { (void) this; /* loplugin:staticmethods */ } - void addRefMessage( const ScAddress& /*rPos*/, const formula::FormulaToken& /*rToken*/ ) + void addRefMessage( + const ScAddress& /*rCellPos*/, const ScAddress& /*rRefPos*/, + const formula::FormulaToken& /*rToken*/ ) { (void) this; /* loplugin:staticmethods */ } |