From 6b416da2db5408a8fd03d5a08ef3a7fabc80a010 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 16 Jul 2013 10:46:11 -0400 Subject: More of the same. Change-Id: I65902231e714f9b18b2d1ef61434913cb79af847 --- sc/inc/reftokenhelper.hxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sc/inc') diff --git a/sc/inc/reftokenhelper.hxx b/sc/inc/reftokenhelper.hxx index 0451dad4e6df..d7cfa8ecd4f6 100644 --- a/sc/inc/reftokenhelper.hxx +++ b/sc/inc/reftokenhelper.hxx @@ -45,9 +45,9 @@ public: ::std::vector& rRefTokens, const OUString& rRangeStr, ScDocument* pDoc, const sal_Unicode cSep, ::formula::FormulaGrammar::Grammar eGrammar, bool bOnly3DRef = false); - static bool getRangeFromToken(ScRange& rRange, const ScTokenRef& pToken, bool bExternal = false); + static bool getRangeFromToken(ScRange& rRange, const ScTokenRef& pToken, const ScAddress& rPos, bool bExternal = false); - static void getRangeListFromTokens(ScRangeList& rRangeList, const ::std::vector& pTokens); + static void getRangeListFromTokens(ScRangeList& rRangeList, const ::std::vector& pTokens, const ScAddress& rPos); /** * Create a double reference token from a range object. @@ -59,7 +59,8 @@ public: static bool SC_DLLPUBLIC isRef(const ScTokenRef& pToken); static bool SC_DLLPUBLIC isExternalRef(const ScTokenRef& pToken); - static bool SC_DLLPUBLIC intersects(const ::std::vector& rTokens, const ScTokenRef& pToken); + static bool SC_DLLPUBLIC intersects( + const ::std::vector& rTokens, const ScTokenRef& pToken, const ScAddress& rPos); static void SC_DLLPUBLIC join(::std::vector& rTokens, const ScTokenRef& pToken); -- cgit