diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-21 14:07:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-22 07:23:57 +0100 |
commit | 331b4603be47fe059095307b2b3e2c1d399b04f9 (patch) | |
tree | 89edb58ed42d9b25558a3651cac8a3234629ad96 /sw/source/filter/ww8/ww8par6.cxx | |
parent | 8ec0f90a287febe661c89e098be457c5d593ded3 (diff) |
loplugin:redundantcopy extend to Color
Change-Id: I224cc955d49ee100d328e0171da710f38068d2d4
Reviewed-on: https://gerrit.libreoffice.org/50114
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/ww8par6.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par6.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx index e9ad64afc8b9..073c0913480b 100644 --- a/sw/source/filter/ww8/ww8par6.cxx +++ b/sw/source/filter/ww8/ww8par6.cxx @@ -3472,7 +3472,7 @@ void SwWW8ImplReader::Read_TextColor( sal_uInt16, const sal_uInt8* pData, short if( b > 16 ) // unknown -> Black b = 0; - NewAttr( SvxColorItem(Color(GetCol(b)), RES_CHRATR_COLOR)); + NewAttr( SvxColorItem(GetCol(b), RES_CHRATR_COLOR)); if (m_pCurrentColl && m_xStyles) m_xStyles->bTextColChanged = true; } |