diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-09-03 16:47:06 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-09-03 19:32:28 +0200 |
commit | f12050bfb15580b564e342b704d5c55128fac644 (patch) | |
tree | e4a825d72c93548bf7ec39e7a8325855d58b288e /editeng | |
parent | 07dcb0dab759d4ab535d99c0e6d326959906b87e (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 'editeng')
-rw-r--r-- | editeng/source/items/flditem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx index 2b57402aef54..dcb70605e8b6 100644 --- a/editeng/source/items/flditem.cxx +++ b/editeng/source/items/flditem.cxx @@ -419,7 +419,7 @@ OUString SvxDateField::GetFormatted( Date const & aDate, SvxDateFormat eFormat, double fDiffDate = aDate - rFormatter.GetNullDate(); OUString aStr; - Color* pColor = nullptr; + const Color* pColor = nullptr; rFormatter.GetOutputString( fDiffDate, nFormatKey, aStr, &pColor ); return aStr; } @@ -682,7 +682,7 @@ OUString SvxExtTimeField::GetFormatted( tools::Time const & aTime, SvxTimeFormat double fFracTime = aTime.GetTimeInDays(); OUString aStr; - Color* pColor = nullptr; + const Color* pColor = nullptr; rFormatter.GetOutputString( fFracTime, nFormatKey, aStr, &pColor ); return aStr; } |