diff options
-rw-r--r-- | include/svl/numformat.hxx | 2 | ||||
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/numformat.hxx b/include/svl/numformat.hxx index bca75cfebef9..e28bd3a1af94 100644 --- a/include/svl/numformat.hxx +++ b/include/svl/numformat.hxx @@ -62,7 +62,7 @@ public: /// Set CallBack to ColorTable void SetColorLink(const Link<sal_uInt16, Color*>& rColorTableCallBack); /// Do the CallBack to ColorTable - Color* GetUserDefColor(sal_uInt16 nIndex); + Color* GetUserDefColor(sal_uInt16 nIndex) const; /// Change language/country, also input and format scanner void ChangeIntl(LanguageType eLnge); diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index e49fefae070b..c7b5ce164e65 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -375,7 +375,7 @@ void SvNumberFormatter::SetColorLink( const Link<sal_uInt16,Color*>& rColorTable aColorLink = rColorTableCallBack; } -Color* SvNumberFormatter::GetUserDefColor(sal_uInt16 nIndex) +Color* SvNumberFormatter::GetUserDefColor(sal_uInt16 nIndex) const { ::osl::MutexGuard aGuard( GetInstanceMutex() ); if( aColorLink.IsSet() ) |