diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2016-05-03 21:22:28 -0400 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2016-05-04 02:23:30 +0000 |
commit | fa507ae23e1e5e0dd73fe881284bfb41a2eb1315 (patch) | |
tree | 5b8a0b5baab8e7af38f3b8bb695bee49d3e1cfe3 /sc/qa/unit/ucalc_formula.cxx | |
parent | update credits (diff) | |
download | core-fa507ae23e1e5e0dd73fe881284bfb41a2eb1315.tar.gz core-fa507ae23e1e5e0dd73fe881284bfb41a2eb1315.zip |
Replace namespace ScErrorCodes with formula...
and remove that 'using namespace' statement in the header...
Change-Id: I2f994af5088ce6d1ffe92c8d36285a4f6fdd2248
Reviewed-on: https://gerrit.libreoffice.org/24628
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc/qa/unit/ucalc_formula.cxx')
-rw-r--r-- | sc/qa/unit/ucalc_formula.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index 54f1318948ea..ffce49a34ed5 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -1141,11 +1141,11 @@ void Test::testFormulaRefUpdate() aPos = ScAddress(2,1,0); ScFormulaCell* pFC = m_pDoc->GetFormulaCell(aPos); CPPUNIT_ASSERT_MESSAGE("This should be a formula cell.", pFC); - CPPUNIT_ASSERT_EQUAL(ScErrorCodes::errNoRef, pFC->GetErrCode()); + CPPUNIT_ASSERT_EQUAL(formula::errNoRef, pFC->GetErrCode()); aPos = ScAddress(2,2,0); pFC = m_pDoc->GetFormulaCell(aPos); CPPUNIT_ASSERT_MESSAGE("This should be a formula cell.", pFC); - CPPUNIT_ASSERT_EQUAL(ScErrorCodes::errNoRef, pFC->GetErrCode()); + CPPUNIT_ASSERT_EQUAL(formula::errNoRef, pFC->GetErrCode()); // Clear all and start over. clearRange(m_pDoc, ScRange(0,0,0,10,10,0)); @@ -1245,11 +1245,11 @@ void Test::testFormulaRefUpdate() // Both A4 and A5 should show #REF! errors. pFC = m_pDoc->GetFormulaCell(ScAddress(0,3,0)); CPPUNIT_ASSERT_MESSAGE("This should be a formula cell.", pFC); - CPPUNIT_ASSERT_EQUAL(ScErrorCodes::errNoRef, pFC->GetErrCode()); + CPPUNIT_ASSERT_EQUAL(formula::errNoRef, pFC->GetErrCode()); pFC = m_pDoc->GetFormulaCell(ScAddress(0,4,0)); CPPUNIT_ASSERT_MESSAGE("This should be a formula cell.", pFC); - CPPUNIT_ASSERT_EQUAL(ScErrorCodes::errNoRef, pFC->GetErrCode()); + CPPUNIT_ASSERT_EQUAL(formula::errNoRef, pFC->GetErrCode()); m_pDoc->DeleteTab(0); } |