Kaydet (Commit) 234fba5b authored tarafından Eike Rathke's avatar Eike Rathke

convert OSL_FAIL to SAL_WARN

Change-Id: I001f29dca5f2a01d70115bb309c99c64c4a65efb
üst 935147ce
......@@ -1885,7 +1885,7 @@ FormulaToken* FormulaCompiler::CreateStringFromToken( OUStringBuffer& rBuffer, F
case svSep:
break; // Opcodes
default:
OSL_FAIL("FormulaCompiler:: GetStringFromToken errUnknownVariable");
SAL_WARN("formula.core", "FormulaCompiler::GetStringFromToken: unknown token type " << t->GetType());
} // of switch
}
}
......
......@@ -922,7 +922,7 @@ bool FormulaTokenArray::HasMatrixDoubleRefOps()
sp = sal::static_int_cast<short>( sp - nParams );
if ( sp < 0 )
{
OSL_FAIL( "FormulaTokenArray::HasMatrixDoubleRefOps: sp < 0" );
SAL_WARN("formula.core", "FormulaTokenArray::HasMatrixDoubleRefOps: sp < 0" );
sp = 0;
}
pStack[sp++] = pResult;
......
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