diff options
author | Eike Rathke <erack@redhat.com> | 2017-12-08 23:48:20 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-12-08 23:49:18 +0100 |
commit | bbbf15993c48fffcf99e62d4876910e18b633762 (patch) | |
tree | c5989b98a7b3411a83cb23ae7f2c4ce579973398 /svl/source/numbers | |
parent | 2ec698b43313c18522b45b28895cd5688a84a700 (diff) |
SvNumberFormatter::GetType() const
Change-Id: Id5392ec8996d157ac1be21cb24f0ab7fff18df27
Diffstat (limited to 'svl/source/numbers')
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 8d9152b4d00f..d85fa3f2eb0b 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -3077,11 +3077,11 @@ sal_uInt32 SvNumberFormatter::GetStandardIndex(LanguageType eLnge) return GetStandardFormat(css::util::NumberFormat::NUMBER, eLnge); } -short SvNumberFormatter::GetType(sal_uInt32 nFIndex) +short SvNumberFormatter::GetType(sal_uInt32 nFIndex) const { ::osl::MutexGuard aGuard( GetMutex() ); short eType; - SvNumberformat* pFormat = GetFormatEntry( nFIndex ); + const SvNumberformat* pFormat = GetFormatEntry( nFIndex ); if (!pFormat) { eType = css::util::NumberFormat::UNDEFINED; |