Kaydet (Commit) 282b0123 authored tarafından Miklos Vajna's avatar Miklos Vajna

error: invalid conversion from 'int' to 'formula::StackVar'

Change-Id: I77280f843ae3123a6e0459becb2ce0b5fd7b78cc
üst 45c89d62
...@@ -821,11 +821,11 @@ void Test::testFormulaCompilerJumpReordering() ...@@ -821,11 +821,11 @@ void Test::testFormulaCompilerJumpReordering()
TokenCheck aCheckRPN[] = TokenCheck aCheckRPN[] =
{ {
{ ocPush, svSingleRef }, { ocPush, svSingleRef },
{ ocIf, 0 }, { ocIf, static_cast<formula::StackVar>(0) },
{ ocPush, svDouble }, { ocPush, svDouble },
{ ocSep, 0 }, { ocSep, static_cast<formula::StackVar>(0) },
{ ocPush, svString }, { ocPush, svString },
{ ocClose, 0 }, { ocClose, static_cast<formula::StackVar>(0) },
}; };
sal_uInt16 nLen = pCode->GetCodeLen(); sal_uInt16 nLen = pCode->GetCodeLen();
...@@ -852,7 +852,7 @@ void Test::testFormulaCompilerJumpReordering() ...@@ -852,7 +852,7 @@ void Test::testFormulaCompilerJumpReordering()
{ ocPush, svSingleRef }, { ocPush, svSingleRef },
{ ocPush, svDouble }, { ocPush, svDouble },
{ ocPush, svString }, { ocPush, svString },
{ ocIf, 0 }, { ocIf, static_cast<formula::StackVar>(0) },
}; };
nLen = pCode->GetCodeLen(); nLen = pCode->GetCodeLen();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment