diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-13 17:22:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-13 21:41:09 +0100 |
commit | 848ed64cd5b63f07d11bf3754c522a731fa7ae88 (patch) | |
tree | 9afee9b322722d68ddfddd259f2901250ba0abe0 /svl | |
parent | 21bd1facb207e5d558854eab3a45a0fb2bb222f7 (diff) |
SvNumberFormatter::GetUserDefColor can be const
Change-Id: If499e28e5ac69018b35b475a73ecb2dc4b78dad6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164786
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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() ) |