summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svl/zformat.hxx2
-rw-r--r--svl/source/numbers/zformat.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx
index 5d6a326e5970..e10060c04240 100644
--- a/include/svl/zformat.hxx
+++ b/include/svl/zformat.hxx
@@ -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;
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index b52646efaf77..fa0b536b5b69 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -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)