diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 20:33:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 22:12:02 +0200 |
commit | 592c31a8fa8729259cf42440a0a26c0322bbbba5 (patch) | |
tree | 5448499c937ca9a5fba1ecb8c6a278180359853d /sw/source/core/text/itrpaint.cxx | |
parent | ef2e9c91d0a0483c19d0175c1b0ccb24d3f6bfbc (diff) |
loplugin:returnconstval in sw
Change-Id: I15d8553bff7528f690ff92bee75d6a67037c0adf
Reviewed-on: https://gerrit.libreoffice.org/78062
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/text/itrpaint.cxx')
-rw-r--r-- | sw/source/core/text/itrpaint.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/itrpaint.cxx b/sw/source/core/text/itrpaint.cxx index e9e6961e38e7..c56842f6a174 100644 --- a/sw/source/core/text/itrpaint.cxx +++ b/sw/source/core/text/itrpaint.cxx @@ -70,7 +70,7 @@ bool IsUnderlineBreak( const SwLinePortion& rPor, const SwFont& rFnt ) SvxCaseMap::SmallCaps == rFnt.GetCaseMap(); } -static const Color GetUnderColor( const SwFont *pFont ) +static Color GetUnderColor( const SwFont *pFont ) { return pFont->GetUnderColor() == COL_AUTO ? pFont->GetColor() : pFont->GetUnderColor(); |