summaryrefslogtreecommitdiff
path: root/sc/inc/reftokenhelper.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:27:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:36:01 +0100
commitbdf2fcd5afb4a4fb1fe0683cf07a8beec78dcc04 (patch)
tree43dcaaa4325b8a76d2099f1dd74a2ea232ad2a67 /sc/inc/reftokenhelper.hxx
parentcfa3d6e562e758cbc18a099aa2a87309735ddf84 (diff)
loplugin:deletedspecial
Change-Id: Ieeca9fe957e7bc6a4cf9d7d6ac57f9ed150aab78
Diffstat (limited to 'sc/inc/reftokenhelper.hxx')
-rw-r--r--sc/inc/reftokenhelper.hxx32
1 files changed, 13 insertions, 19 deletions
diff --git a/sc/inc/reftokenhelper.hxx b/sc/inc/reftokenhelper.hxx
index 137f266078ac..0ce3336db8c2 100644
--- a/sc/inc/reftokenhelper.hxx
+++ b/sc/inc/reftokenhelper.hxx
@@ -28,45 +28,39 @@ class ScDocument;
class ScRange;
class ScRangeList;
-class ScRefTokenHelper
+namespace ScRefTokenHelper
{
-private:
- ScRefTokenHelper();
- ScRefTokenHelper(const ScRefTokenHelper&);
- ~ScRefTokenHelper();
-
-public:
/**
* Compile an array of reference tokens from a data source range string.
* The source range may consist of multiple ranges separated by ';'s.
*/
- static void compileRangeRepresentation(
+ void compileRangeRepresentation(
::std::vector<ScTokenRef>& 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, const ScAddress& rPos, bool bExternal = false);
+ bool getRangeFromToken(ScRange& rRange, const ScTokenRef& pToken, const ScAddress& rPos, bool bExternal = false);
- static void getRangeListFromTokens(ScRangeList& rRangeList, const ::std::vector<ScTokenRef>& pTokens, const ScAddress& rPos);
+ void getRangeListFromTokens(ScRangeList& rRangeList, const ::std::vector<ScTokenRef>& pTokens, const ScAddress& rPos);
/**
* Create a double reference token from a range object.
*/
- static void getTokenFromRange(ScTokenRef& pToken, const ScRange& rRange);
+ void getTokenFromRange(ScTokenRef& pToken, const ScRange& rRange);
- static void getTokensFromRangeList(::std::vector<ScTokenRef>& pTokens, const ScRangeList& rRanges);
+ void getTokensFromRangeList(::std::vector<ScTokenRef>& pTokens, const ScRangeList& rRanges);
- static bool SC_DLLPUBLIC isRef(const ScTokenRef& pToken);
- static bool SC_DLLPUBLIC isExternalRef(const ScTokenRef& pToken);
+ bool SC_DLLPUBLIC isRef(const ScTokenRef& pToken);
+ bool SC_DLLPUBLIC isExternalRef(const ScTokenRef& pToken);
- static bool SC_DLLPUBLIC intersects(
+ bool SC_DLLPUBLIC intersects(
const ::std::vector<ScTokenRef>& rTokens, const ScTokenRef& pToken, const ScAddress& rPos);
- static void SC_DLLPUBLIC join(::std::vector<ScTokenRef>& rTokens, const ScTokenRef& pToken, const ScAddress& rPos);
+ void SC_DLLPUBLIC join(::std::vector<ScTokenRef>& rTokens, const ScTokenRef& pToken, const ScAddress& rPos);
- static bool getDoubleRefDataFromToken(ScComplexRefData& rData, const ScTokenRef& pToken);
+ bool getDoubleRefDataFromToken(ScComplexRefData& rData, const ScTokenRef& pToken);
- static ScTokenRef createRefToken(const ScAddress& rAddr);
- static ScTokenRef createRefToken(const ScRange& rRange);
+ ScTokenRef createRefToken(const ScAddress& rAddr);
+ ScTokenRef createRefToken(const ScRange& rRange);
};
#endif