summaryrefslogtreecommitdiff
path: root/svl/source/numbers/zforlist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/numbers/zforlist.cxx')
-rw-r--r--svl/source/numbers/zforlist.cxx4
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;