summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-05-03 19:59:40 +0200
committerEike Rathke <erack@redhat.com>2017-05-04 00:46:18 +0200
commitfd4c9d0b017ba559dd31776cb58c75f90ebf0db5 (patch)
treeff51d7cef33f32291d50524890179cf7f94c730b
parent44eb05c254c3a45b3590fba7b4ea2194f45930b5 (diff)
Make SvNumberformat::ImpIsIso8601() const
Change-Id: Ied2440046ab01bc0f18629ddb885e7555b8af137
-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)