diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-15 07:29:07 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-15 07:29:07 +0200 |
commit | 282b0123a34b978ea221d88ac668ed0c4423f801 (patch) | |
tree | 367931fda721ed0e16d9e2d07090becc97e4b8e0 /sc/qa | |
parent | 45c89d62b527abec07072074484bd596ab1aa04a (diff) |
error: invalid conversion from 'int' to 'formula::StackVar'
Change-Id: I77280f843ae3123a6e0459becb2ce0b5fd7b78cc
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/ucalc_formula.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index 772088135574..b1ef5614d9c1 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -821,11 +821,11 @@ void Test::testFormulaCompilerJumpReordering() TokenCheck aCheckRPN[] = { { ocPush, svSingleRef }, - { ocIf, 0 }, + { ocIf, static_cast<formula::StackVar>(0) }, { ocPush, svDouble }, - { ocSep, 0 }, + { ocSep, static_cast<formula::StackVar>(0) }, { ocPush, svString }, - { ocClose, 0 }, + { ocClose, static_cast<formula::StackVar>(0) }, }; sal_uInt16 nLen = pCode->GetCodeLen(); @@ -852,7 +852,7 @@ void Test::testFormulaCompilerJumpReordering() { ocPush, svSingleRef }, { ocPush, svDouble }, { ocPush, svString }, - { ocIf, 0 }, + { ocIf, static_cast<formula::StackVar>(0) }, }; nLen = pCode->GetCodeLen(); |