diff options
author | Eike Rathke <erack@redhat.com> | 2013-01-12 00:16:32 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-01-12 00:17:09 +0100 |
commit | c34ca5c2a638476b76ae448b16a13358fd2be926 (patch) | |
tree | a112f92f9ee065f719d2cb91d55d3bd3b24fe551 /sc | |
parent | 1593c48768511472bf4038b8fe90d31aa2487e2c (diff) |
make this compile with a not so recent code base
Change-Id: I9b3f8ca9c5af326735ff9c95359e6a0917d6898b
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 13c512355113..a12ce890b49a 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -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); } } |