diff options
author | Noel Grandin <noel@peralex.com> | 2015-02-25 09:49:59 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-02-25 10:34:27 +0200 |
commit | 2f928b2d0982af44b3d45f1d3c8919c0b0655b4f (patch) | |
tree | 36468544d70101f2fc3a49a59b2f9d40df10e61f /svl/qa/unit | |
parent | 3e475e574ee7ac8753bf50732f62bea5d36791a5 (diff) |
remove NUMBERFORMAT_ constants
.. in favour of just using the underlying constants from
css::util::NumberFormat
Change-Id: I0c6b128b66c91b268f5ae300f9c17c7792df5e99
Diffstat (limited to 'svl/qa/unit')
-rw-r--r-- | svl/qa/unit/svl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index b65460d82763..d1da378b0faf 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -264,7 +264,7 @@ void Test::testNumberFormat() } sal_Int32 nPos; - short nType = NUMBERFORMAT_DEFINED; + short nType = css::util::NumberFormat::DEFINED; sal_uInt32 nKey; OUString aCode; // Thai date format (implicit locale). @@ -1011,7 +1011,7 @@ void Test::checkDateInput( SvNumberFormatter& rFormatter, const char* pTimezone, bool bVal = rFormatter.IsNumberFormat( aDate, nIndex, fVal); CPPUNIT_ASSERT_MESSAGE("Date not recognized.", bVal); CPPUNIT_ASSERT_MESSAGE("Format parsed is not date.", - ((rFormatter.GetType(nIndex) & NUMBERFORMAT_DATE) == NUMBERFORMAT_DATE)); + (rFormatter.GetType(nIndex) & css::util::NumberFormat::DATE)); OUString aOutString; Color *pColor; rFormatter.GetOutputString( fVal, nIndex, aOutString, &pColor); |