Make SvNumberformat::ImpIsIso8601() const

Change-Id: Ied2440046ab01bc0f18629ddb885e7555b8af137
This commit is contained in:
Eike Rathke 2017-05-03 19:59:40 +02:00
parent 44eb05c254
commit fd4c9d0b01
2 changed files with 2 additions and 2 deletions

View file

@ -491,7 +491,7 @@ private:
SVL_DLLPRIVATE static sal_Int32 ImpUseMonthCase( int & io_nState, const ImpSvNumFor& rNumFor, NfKeywordIndex eCodeType );
/// Whether it's a (YY)YY-M(M)-D(D) format.
SVL_DLLPRIVATE bool ImpIsIso8601( const ImpSvNumFor& rNumFor );
SVL_DLLPRIVATE bool ImpIsIso8601( const ImpSvNumFor& rNumFor ) const;
const CharClass& rChrCls() const;
const LocaleDataWrapper& rLoc() const;

View file

@ -3375,7 +3375,7 @@ void SvNumberformat::ImpAppendEraG( OUStringBuffer& OutString,
}
}
bool SvNumberformat::ImpIsIso8601( const ImpSvNumFor& rNumFor )
bool SvNumberformat::ImpIsIso8601( const ImpSvNumFor& rNumFor ) const
{
bool bIsIso = false;
if ((eType & css::util::NumberFormat::DATE) == css::util::NumberFormat::DATE)