diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-10-05 14:18:51 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-10-05 17:21:14 +0200 |
commit | 03041e0f8d8385847c2e77fcaf08c1d33cad938f (patch) | |
tree | 2e31aa31850e7004e57c53aeb9b58b4b9256cff9 /svx/sdi | |
parent | 97fdf8a04b50b2f7763eba7b16096868a358d313 (diff) |
tdf#112817 editeng,svx: fix SvxUnderlineItem/SvxOverlineItem SDI
This was asserting because the superclass SvxTextLineItem
was instantiated instead of the specific subclasses.
Change-Id: If26847b8fa96dbf00062ba8372fe58e58c786782
Diffstat (limited to 'svx/sdi')
-rw-r--r-- | svx/sdi/svx.sdi | 4 | ||||
-rw-r--r-- | svx/sdi/svxitems.sdi | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi index 9b9c45297574..932aef3cb2c2 100644 --- a/svx/sdi/svx.sdi +++ b/svx/sdi/svx.sdi @@ -8561,7 +8561,7 @@ SfxVoidItem TwainTransfer SID_TWAIN_TRANSFER ] -SvxTextLineItem Underline SID_ATTR_CHAR_UNDERLINE +SvxUnderlineItem Underline SID_ATTR_CHAR_UNDERLINE [ AutoUpdate = TRUE, @@ -8580,7 +8580,7 @@ SvxTextLineItem Underline SID_ATTR_CHAR_UNDERLINE ] -SvxTextLineItem Overline SID_ATTR_CHAR_OVERLINE +SvxOverlineItem Overline SID_ATTR_CHAR_OVERLINE [ AutoUpdate = TRUE, diff --git a/svx/sdi/svxitems.sdi b/svx/sdi/svxitems.sdi index 3d264f483dc2..12946d433f16 100644 --- a/svx/sdi/svxitems.sdi +++ b/svx/sdi/svxitems.sdi @@ -225,7 +225,8 @@ struct SvxTextLine BOOL HasColor MID_TL_HASCOLOR; INT32 Color MID_TL_COLOR; }; -item SvxTextLine SvxTextLineItem; +item SvxTextLine SvxUnderlineItem; +item SvxTextLine SvxOverlineItem; struct SvxBrush { |