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

make this compile with a not so recent code base

Change-Id: I9b3f8ca9c5af326735ff9c95359e6a0917d6898b
üst 1593c487
......@@ -700,7 +700,7 @@ void testFuncIFERROR(ScDocument* pDoc)
// formulas and results
struct {
const char* pFormula; OUString aResult;
const char* pFormula; const char* pResult;
} aChecks[] = {
{ "=IFERROR(A1;9)", "1" },
// { "{=IFERROR(3*A1:A2;2002)}", "3" },
......@@ -731,7 +731,7 @@ void testFuncIFERROR(ScDocument* pDoc)
SCROW nRow = 20 + i;
pDoc->GetString(0, nRow, 0, aResult);
CPPUNIT_ASSERT_EQUAL_MESSAGE(
aChecks[i].pFormula, aChecks[i].aResult, aResult);
aChecks[i].pFormula, OUString::createFromAscii( aChecks[i].pResult), aResult);
}
}
......
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