diff options
author | Gülşah Köse <gulsah.kose@collabora.com> | 2021-05-28 01:23:53 +0300 |
---|---|---|
committer | Gülşah Köse <gulsah.kose@collabora.com> | 2021-05-31 11:36:18 +0200 |
commit | 936af331ba6f5073aeaa0f10f5f2af1def1d74c6 (patch) | |
tree | e145eb9a5f7b9fe05a7f7832cf6eb76388cc4662 /svx/sdi | |
parent | 7d34a7777cfeec112ab5cdabba059d01d8876be4 (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 'svx/sdi')
-rw-r--r-- | svx/sdi/svx.sdi | 4 | ||||
-rw-r--r-- | svx/sdi/svxitems.sdi | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi index e0c4abd4379f..7093e9cd9e0b 100644 --- a/svx/sdi/svx.sdi +++ b/svx/sdi/svx.sdi @@ -1523,8 +1523,8 @@ SvxColorItem Color SID_ATTR_CHAR_COLOR GroupId = SfxGroupId::Format; ] -SvxBackgroundColorItem CharBackColor SID_ATTR_CHAR_BACK_COLOR -(SfxStringItem Color SID_ATTR_COLOR_STR, SvxBackgroundColorItem CharBackColor SID_ATTR_CHAR_BACK_COLOR) +SvxColorItem CharBackColor SID_ATTR_CHAR_BACK_COLOR +(SfxStringItem Color SID_ATTR_COLOR_STR, SvxColorItem CharBackColor SID_ATTR_CHAR_BACK_COLOR) [ AutoUpdate = TRUE, FastCall = FALSE, diff --git a/svx/sdi/svxitems.sdi b/svx/sdi/svxitems.sdi index 36fe52e13867..549ffc3f3227 100644 --- a/svx/sdi/svxitems.sdi +++ b/svx/sdi/svxitems.sdi @@ -170,7 +170,6 @@ item INT16 SvxCharReliefItem; item BOOL SvxBlinkItem; item BOOL SvxAutoKernItem; item INT32 SvxColorItem; -item INT32 SvxBackgroundColorItem; item BOOL SvxContourItem; item INT16 SvxFormatBreakItem; // enum item BOOL SvxFormatKeepItem; |