diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-08 08:31:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-08 09:19:32 +0200 |
commit | 2e0a25ce2b87d3a4bbf944025fc3720933fb391d (patch) | |
tree | 57bd8b7c4a4cfe2c0bf5072b25f1d525096d4ff2 /editeng | |
parent | b02b3bcf4465c9ccb3edcaa26e090db0581cba9e (diff) |
loplugin:constantparam
Change-Id: Ic87f0cc863490858b7cc7e74a7f90ec31992dd53
Reviewed-on: https://gerrit.libreoffice.org/42089
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/eerdll.cxx | 2 | ||||
-rw-r--r-- | editeng/source/items/textitem.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/editeng/source/editeng/eerdll.cxx b/editeng/source/editeng/eerdll.cxx index ca66b2f55379..18605af099d9 100644 --- a/editeng/source/editeng/eerdll.cxx +++ b/editeng/source/editeng/eerdll.cxx @@ -150,7 +150,7 @@ DefItems::DefItems() // Features rDefItems[51] = new SfxVoidItem( EE_FEATURE_TAB ); rDefItems[52] = new SfxVoidItem( EE_FEATURE_LINEBR ); - rDefItems[53] = new SvxCharSetColorItem( Color( COL_RED ), RTL_TEXTENCODING_DONTKNOW, EE_FEATURE_NOTCONV ); + rDefItems[53] = new SvxCharSetColorItem( Color( COL_RED ), EE_FEATURE_NOTCONV ); rDefItems[54] = new SvxFieldItem( SvxFieldData(), EE_FEATURE_FIELD ); assert(EDITITEMCOUNT == 55 && "ITEMCOUNT changed, adjust DefItems!"); diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index 7395c40c50e4..be0d87401bec 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -1813,11 +1813,10 @@ SvxCharSetColorItem::SvxCharSetColorItem( const sal_uInt16 nId ) : SvxCharSetColorItem::SvxCharSetColorItem( const Color& rCol, - const rtl_TextEncoding _eFrom, const sal_uInt16 nId ) : SvxColorItem( rCol, nId ), - eFrom( _eFrom ) + eFrom( RTL_TEXTENCODING_DONTKNOW ) { } |