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 --- sc/source/ui/view/viewfunc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/view/viewfunc.cxx') diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index 1dd68e6aadff..642d90f9c06f 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -2744,7 +2744,7 @@ void ScViewFunc::ChangeNumFmtDecimals( bool bIncrement ) // the ways of the Numberformatters are unfathomable, so try: OUString aOut; - Color* pCol; + const Color* pCol; const_cast(pOldEntry)->GetOutputString( nVal, aOut, &pCol ); nPrecision = 0; -- cgit