diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-06-13 19:18:53 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-06-13 20:31:51 +0300 |
commit | 2495a4e807a775819486faee14eb3acde8b1cbdf (patch) | |
tree | bb8da7133eaa12275a69026990d7ab6a2e209693 | |
parent | a7309f17b34b97816b7d8f9ada5e8563d033aa82 (diff) |
Use FormulaTokenArray::FirstToken() in one place where we can
Change-Id: I84a108d9c0f1a0982fb7144b32be007498e5f0ea
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 1948add201cd..0372de6abf01 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -1126,7 +1126,7 @@ formula::FormulaToken* getSingleRefToken(ScDocument& rDoc, const ScAddress& rPos return nullptr; } - formula::FormulaToken* pToken = pTokens->First(); + formula::FormulaToken* pToken = pTokens->FirstToken(); if (!pToken || pToken->GetType() != formula::svSingleRef) { cerr << "Not a single reference token." << endl; |