diff options
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 ) { } |