From f12050bfb15580b564e342b704d5c55128fac644 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Thu, 3 Sep 2020 16:47:06 +0300 Subject: Make ImpSvNumberformatScan::GetColor const Change-Id: Idbcce18029944ab884cdde03e21190cbb574a00f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102005 Reviewed-by: Noel Grandin Reviewed-by: Mike Kaganski Tested-by: Jenkins --- chart2/source/tools/NumberFormatterWrapper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2') 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"); -- cgit