summaryrefslogtreecommitdiff
path: root/sc/qa/unit/ucalc.cxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-03-21 22:41:51 +0100
committerNoel Grandin <noelgrandin@gmail.com>2016-03-22 07:01:44 +0000
commita7ba6358eec442aaa28fdd952102dbd10ca2569e (patch)
tree17ac873181eb64519a70201a0e82a0456801f65f /sc/qa/unit/ucalc.cxx
parentd27e3eca2cca1249a0bdd9e6385ca693d471ef9b (diff)
tdf#84938 replace #define with scoped typed_flags
'RangeType' becomes 'Type', goes into ScRangeData and is strongly typed now. This revealed a misuse of RangeType in vbanames.cxx where the uno equivalent was expected, but it had no impact because both values were 0. Change-Id: I0b4764d1411c709a1faa243ec70afeb160410990 Reviewed-on: https://gerrit.libreoffice.org/23415 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/qa/unit/ucalc.cxx')
-rw-r--r--sc/qa/unit/ucalc.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index f9ba17419c6a..77a42e6a8731 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -6312,7 +6312,8 @@ bool Test::insertRangeNames(
pDoc,
OUString::createFromAscii(p->mpName),
OUString::createFromAscii(p->mpExpr),
- aA1, 0, formula::FormulaGrammar::GRAM_ENGLISH);
+ aA1, ScRangeData::Type::Name,
+ formula::FormulaGrammar::GRAM_ENGLISH);
pNew->SetIndex(p->mnIndex);
bool bSuccess = pNames->insert(pNew);
if (!bSuccess)