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 /cui | |
parent | 3e475e574ee7ac8753bf50732f62bea5d36791a5 (diff) |
remove NUMBERFORMAT_ constants
.. in favour of just using the underlying constants from
css::util::NumberFormat
Change-Id: I0c6b128b66c91b268f5ae300f9c17c7792df5e99
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optupdt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optupdt.cxx b/cui/source/options/optupdt.cxx index 3a7c6715b2dc..e44e76006484 100644 --- a/cui/source/options/optupdt.cxx +++ b/cui/source/options/optupdt.cxx @@ -123,11 +123,11 @@ void SvxOnlineUpdateTabPage::UpdateLastCheckedText() SvNumberFormatter *pNumberFormatter = new SvNumberFormatter( ::comphelper::getProcessComponentContext(), eUILang ); Color* pColor = NULL; Date* pNullDate = pNumberFormatter->GetNullDate(); - sal_uInt32 nFormat = pNumberFormatter->GetStandardFormat( NUMBERFORMAT_DATE, eUILang ); + sal_uInt32 nFormat = pNumberFormatter->GetStandardFormat( css::util::NumberFormat::DATE, eUILang ); pNumberFormatter->GetOutputString( aDate - *pNullDate, nFormat, aDateStr, &pColor ); - nFormat = pNumberFormatter->GetStandardFormat( NUMBERFORMAT_TIME, eUILang ); + nFormat = pNumberFormatter->GetStandardFormat( css::util::NumberFormat::TIME, eUILang ); pNumberFormatter->GetOutputString( aTime.GetTimeInDays(), nFormat, aTimeStr, &pColor ); delete pColor; |