summaryrefslogtreecommitdiff
path: root/sc/qa/unit
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-02-07 18:01:15 +0200
committerTor Lillqvist <tml@collabora.com>2015-02-07 18:02:59 +0200
commitb749e4d3b77b8bb8203b5cde88142d4416b7651f (patch)
tree1e91c28b228222c4efcea3b5f85655861d49fc24 /sc/qa/unit
parent9429cf24675ae6b3a954db560ca567c9413d0ab6 (diff)
ERROR is a macro on Windows, try ILLEGAL then
Change-Id: Iae0c5308f77657c6a55bafd372ce7e4db5ef4aab
Diffstat (limited to 'sc/qa/unit')
-rw-r--r--sc/qa/unit/ucalc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index df258bcfecf9..03c4a5249ea4 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -1614,7 +1614,7 @@ void Test::testFuncParam()
CPPUNIT_ASSERT_MESSAGE("incorrect result", val == 3);
// With "Generate #VALUE! error" ("Empty string as zero" is ignored).
- aConfig.meStringConversion = ScCalcConfig::StringConversion::ERROR;
+ aConfig.meStringConversion = ScCalcConfig::StringConversion::ILLEGAL;
aConfig.mbEmptyStringAsZero = false;
m_pDoc->SetCalcConfig(aConfig);
m_pDoc->CalcAll();