summaryrefslogtreecommitdiff
path: root/svl/qa
diff options
context:
space:
mode:
Diffstat (limited to 'svl/qa')
-rw-r--r--svl/qa/unit/svl.cxx4
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);