summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-11-19 12:01:17 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-11-19 12:07:54 -0500
commitd646612f99be91e0706e2f32ae8371a4e7019eb8 (patch)
treec21522d5c6844426f6b1671b01b9c15ba4ebbb88 /sc/qa
parent845893cd818cc0f3e0dfe54a0c6c061717c86d77 (diff)
Narrow it down a bit for the next visit.
Still no idea what the problem really is (MSVC is pretty silent about it) or how to fix it. Change-Id: I322779046f0adc0b2807a9d46a5c9140839b7ff7
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/ucalc_formula.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index b107165d8d9d..29ecd5a0a3a3 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -33,7 +33,6 @@ using namespace formula;
void Test::testFormulaCreateStringFromTokens()
{
-#if 0
// Insert sheets.
OUString aTabName1("Test");
OUString aTabName2("Kevin's Data");
@@ -138,18 +137,19 @@ void Test::testFormulaCreateStringFromTokens()
OUString aFormula = OUString::createFromAscii(aTests[i]);
ScCompiler aComp(m_pDoc, aPos);
aComp.SetGrammar(FormulaGrammar::GRAM_ENGLISH);
+#if 0 // TODO: This call to CompileString() causes the cppunittester to somehow fail on Windows.
pArray.reset(aComp.CompileString(aFormula));
CPPUNIT_ASSERT_MESSAGE("Failed to compile formula string.", pArray.get());
OUString aCheck = pArray->CreateString(aCxt, aPos);
CPPUNIT_ASSERT_EQUAL(aFormula, aCheck);
+#endif
}
m_pDoc->DeleteTab(3);
m_pDoc->DeleteTab(2);
m_pDoc->DeleteTab(1);
m_pDoc->DeleteTab(0);
-#endif
}
namespace {