summaryrefslogtreecommitdiff
path: root/chart2/source/tools
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2020-09-03 16:47:06 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2020-09-03 19:32:28 +0200
commitf12050bfb15580b564e342b704d5c55128fac644 (patch)
treee4a825d72c93548bf7ec39e7a8325855d58b288e /chart2/source/tools
parent07dcb0dab759d4ab535d99c0e6d326959906b87e (diff)
Make ImpSvNumberformatScan::GetColor const
Change-Id: Idbcce18029944ab884cdde03e21190cbb574a00f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102005 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'chart2/source/tools')
-rw-r--r--chart2/source/tools/NumberFormatterWrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/NumberFormatterWrapper.cxx b/chart2/source/tools/NumberFormatterWrapper.cxx
index 50f6dc7fb132..ef40617b07dd 100644
--- a/chart2/source/tools/NumberFormatterWrapper.cxx
+++ b/chart2/source/tools/NumberFormatterWrapper.cxx
@@ -86,7 +86,7 @@ OUString NumberFormatterWrapper::getFormattedString( sal_Int32 nNumberFormatKey,
Color& rLabelColor, bool& rbColorChanged ) const
{
OUString aText;
- Color* pTextColor = nullptr;
+ const Color* pTextColor = nullptr;
if( !m_pNumberFormatter )
{
OSL_FAIL("Need a NumberFormatter");