From 936af331ba6f5073aeaa0f10f5f2af1def1d74c6 Mon Sep 17 00:00:00 2001 From: Gülşah Köse Date: Fri, 28 May 2021 01:23:53 +0300 Subject: Clean redundant SvxBackgroundColorItem and use SvxColorItem instead. SvxBackgroundColorItem is just copied from SvxColorItem. There is nothing special to SvxBackgroundColorItem class. SvxColorItem is a generic item and it's used on many places related with colors. We can use SvxColorItem for background colors too. Change-Id: Iacea31a7557b806e95f5859ff60add9a2626ec05 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116282 Reviewed-by: Jan Holesovsky Tested-by: Jenkins --- editeng/inc/editattr.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'editeng/inc') diff --git a/editeng/inc/editattr.hxx b/editeng/inc/editattr.hxx index f0a6ec58da76..502a5b084605 100644 --- a/editeng/inc/editattr.hxx +++ b/editeng/inc/editattr.hxx @@ -38,7 +38,6 @@ class SvxOverlineItem; class SvxFontHeightItem; class SvxCharScaleWidthItem; class SvxColorItem; -class SvxBackgroundColorItem; class SvxAutoKernItem; class SvxKerningItem; class SvxWordLineModeItem; @@ -301,7 +300,7 @@ public: class EditCharAttribBackgroundColor final : public EditCharAttrib { public: - EditCharAttribBackgroundColor(const SvxBackgroundColorItem& rAttr, + EditCharAttribBackgroundColor(const SvxColorItem& rAttr, sal_Int32 nStart, sal_Int32 nEnd ); virtual void SetFont(SvxFont& rFont, OutputDevice* pOutDev) override; -- cgit