summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuchar.cxx
diff options
context:
space:
mode:
authorGülşah Köse <gulsah.kose@collabora.com>2021-05-28 01:23:53 +0300
committerGülşah Köse <gulsah.kose@collabora.com>2021-05-31 11:36:18 +0200
commit936af331ba6f5073aeaa0f10f5f2af1def1d74c6 (patch)
treee145eb9a5f7b9fe05a7f7832cf6eb76388cc4662 /sd/source/ui/func/fuchar.cxx
parent7d34a7777cfeec112ab5cdabba059d01d8876be4 (diff)
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 <kendy@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sd/source/ui/func/fuchar.cxx')
-rw-r--r--sd/source/ui/func/fuchar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fuchar.cxx b/sd/source/ui/func/fuchar.cxx
index 6b5cad68a973..a1c69e25b041 100644
--- a/sd/source/ui/func/fuchar.cxx
+++ b/sd/source/ui/func/fuchar.cxx
@@ -85,7 +85,7 @@ void FuChar::DoExecute( SfxRequest& rReq )
if ( pBrushItem )
{
- SvxBackgroundColorItem aBackColorItem( pBrushItem->GetColor(), EE_CHAR_BKGCOLOR );
+ SvxColorItem aBackColorItem( pBrushItem->GetColor(), EE_CHAR_BKGCOLOR );
aOtherSet.ClearItem( SID_ATTR_BRUSH_CHAR );
aOtherSet.Put( aBackColorItem );
}