[Libreoffice-commits] core.git: include/svl svl/source

Eike Rathke erack at redhat.com
Wed May 3 22:46:50 UTC 2017


 include/svl/zformat.hxx        |    2 +-
 svl/source/numbers/zformat.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fd4c9d0b017ba559dd31776cb58c75f90ebf0db5
Author: Eike Rathke <erack at redhat.com>
Date:   Wed May 3 19:59:40 2017 +0200

    Make SvNumberformat::ImpIsIso8601() const
    
    Change-Id: Ied2440046ab01bc0f18629ddb885e7555b8af137

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)


More information about the Libreoffice-commits mailing list