diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-13 16:07:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-14 08:35:15 +0200 |
commit | 43c1a3a904e889e4b8660fa28d4f4479c0f267ae (patch) | |
tree | afe2f98d7adae62268fc470052bad420b15132c1 /editeng | |
parent | cd66852f6dd08631a25d15a1527a647e69ab8ce3 (diff) |
SvxCharSetColorItem can be removed
and just use SvxColorItem in its stead, all of it's special
functionality has been removed over time
Change-Id: I61a4d1fb92d9dccbdfc5bbb6d1a41692b83eb320
Reviewed-on: https://gerrit.libreoffice.org/58938
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/pch/precompiled_editeng.hxx | 1 | ||||
-rw-r--r-- | editeng/source/editeng/editattr.cxx | 1 | ||||
-rw-r--r-- | editeng/source/editeng/editdoc.cxx | 1 | ||||
-rw-r--r-- | editeng/source/editeng/editeng.cxx | 1 | ||||
-rw-r--r-- | editeng/source/editeng/editobj.cxx | 1 | ||||
-rw-r--r-- | editeng/source/editeng/eerdll.cxx | 3 | ||||
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 1 | ||||
-rw-r--r-- | editeng/source/items/textitem.cxx | 34 | ||||
-rw-r--r-- | editeng/source/rtf/rtfitem.cxx | 1 |
9 files changed, 1 insertions, 43 deletions
diff --git a/editeng/inc/pch/precompiled_editeng.hxx b/editeng/inc/pch/precompiled_editeng.hxx index 151d38fcaba2..c441fe1ff4ec 100644 --- a/editeng/inc/pch/precompiled_editeng.hxx +++ b/editeng/inc/pch/precompiled_editeng.hxx @@ -336,7 +336,6 @@ #include <editeng/brushitem.hxx> #include <editeng/charreliefitem.hxx> #include <editeng/charscaleitem.hxx> -#include <editeng/charsetcoloritem.hxx> #include <editeng/cmapitem.hxx> #include <editeng/colritem.hxx> #include <editeng/contouritem.hxx> diff --git a/editeng/source/editeng/editattr.cxx b/editeng/source/editeng/editattr.cxx index c20e03d21a51..516ca28f9946 100644 --- a/editeng/source/editeng/editattr.cxx +++ b/editeng/source/editeng/editattr.cxx @@ -37,7 +37,6 @@ #include <editeng/wrlmitem.hxx> #include <editeng/fhgtitem.hxx> #include <editeng/crossedoutitem.hxx> -#include <editeng/charsetcoloritem.hxx> #include <editeng/kernitem.hxx> #include <editeng/autokernitem.hxx> #include <editeng/langitem.hxx> diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index 76fd0a4d6f01..2e3fcec41184 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -38,7 +38,6 @@ #include <editeng/escapementitem.hxx> #include <editeng/shdditem.hxx> #include <editeng/autokernitem.hxx> -#include <editeng/charsetcoloritem.hxx> #include <editeng/langitem.hxx> #include <editeng/emphasismarkitem.hxx> #include <editeng/charscaleitem.hxx> diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx index 85bfbfb44a76..e2c4a63f3efd 100644 --- a/editeng/source/editeng/editeng.cxx +++ b/editeng/source/editeng/editeng.cxx @@ -59,7 +59,6 @@ #include <editeng/wghtitem.hxx> #include <editeng/wrlmitem.hxx> #include <editeng/brushitem.hxx> -#include <editeng/charsetcoloritem.hxx> #include <editeng/langitem.hxx> #include <editeng/emphasismarkitem.hxx> #include <editeng/charscaleitem.hxx> diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx index 8166f84c6a11..9b7fa07924d6 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -34,7 +34,6 @@ #include <editattr.hxx> #include <editeng/editeng.hxx> #include <editeng/fontitem.hxx> -#include <editeng/charsetcoloritem.hxx> #include <editeng/flditem.hxx> #include <editeng/lrspitem.hxx> #include <editeng/tstpitem.hxx> diff --git a/editeng/source/editeng/eerdll.cxx b/editeng/source/editeng/eerdll.cxx index ad574cf9b6a3..1a2a15c4975d 100644 --- a/editeng/source/editeng/eerdll.cxx +++ b/editeng/source/editeng/eerdll.cxx @@ -49,7 +49,6 @@ #include <editeng/contouritem.hxx> #include <editeng/colritem.hxx> #include <editeng/crossedoutitem.hxx> -#include <editeng/charsetcoloritem.hxx> #include <editeng/escapementitem.hxx> #include <editeng/fhgtitem.hxx> #include <editeng/fontitem.hxx> @@ -149,7 +148,7 @@ DefItems::DefItems() // Features rDefItems[51] = new SfxVoidItem( EE_FEATURE_TAB ); rDefItems[52] = new SfxVoidItem( EE_FEATURE_LINEBR ); - rDefItems[53] = new SvxCharSetColorItem( COL_RED, EE_FEATURE_NOTCONV ); + rDefItems[53] = new SvxColorItem( 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/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index d10c8ff26feb..6287609944bb 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -34,7 +34,6 @@ #include <editeng/editeng.hxx> #include <editeng/editview.hxx> #include <editeng/txtrange.hxx> -#include <editeng/charsetcoloritem.hxx> #include <editeng/colritem.hxx> #include <editeng/udlnitem.hxx> #include <editeng/fhgtitem.hxx> diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index fd6ce05c3970..0b971d71911d 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -76,7 +76,6 @@ #include <editeng/wrlmitem.hxx> #include <editeng/contouritem.hxx> #include <editeng/colritem.hxx> -#include <editeng/charsetcoloritem.hxx> #include <editeng/kernitem.hxx> #include <editeng/cmapitem.hxx> #include <editeng/escapementitem.hxx> @@ -1751,39 +1750,6 @@ void SvxColorItem::SetValue( const Color& rNewCol ) mColor = rNewCol; } -// class SvxCharSetColorItem --------------------------------------------- - -SvxCharSetColorItem::SvxCharSetColorItem( const sal_uInt16 nId ) : - SvxColorItem( nId ) -{ -} - - -SvxCharSetColorItem::SvxCharSetColorItem( const Color& rCol, - const sal_uInt16 nId ) : - SvxColorItem( rCol, nId ) -{ -} - - -SfxPoolItem* SvxCharSetColorItem::Clone( SfxItemPool * ) const -{ - return new SvxCharSetColorItem( *this ); -} - - -bool SvxCharSetColorItem::GetPresentation -( - SfxItemPresentation /*ePres*/, - MapUnit /*eCoreUnit*/, - MapUnit /*ePresUnit*/, - OUString& rText, const IntlWrapper& /*rIntl*/ -) const -{ - rText.clear(); - return false; -} - // class SvxKerningItem -------------------------------------------------- SvxKerningItem::SvxKerningItem( const short nKern, const sal_uInt16 nId ) : diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx index 7130793ef8b5..8d12c04e0394 100644 --- a/editeng/source/rtf/rtfitem.cxx +++ b/editeng/source/rtf/rtfitem.cxx @@ -30,7 +30,6 @@ #include <editeng/wrlmitem.hxx> #include <editeng/contouritem.hxx> #include <editeng/colritem.hxx> -#include <editeng/charsetcoloritem.hxx> #include <editeng/kernitem.hxx> #include <editeng/cmapitem.hxx> #include <editeng/escapementitem.hxx> |