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 /include | |
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 'include')
-rw-r--r-- | include/editeng/udlnitem.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/editeng/udlnitem.hxx b/include/editeng/udlnitem.hxx index 694e92ba43b6..94fcfe06f9b8 100644 --- a/include/editeng/udlnitem.hxx +++ b/include/editeng/udlnitem.hxx @@ -85,6 +85,8 @@ public: class EDITENG_DLLPUBLIC SvxUnderlineItem : public SvxTextLineItem { public: + static SfxPoolItem* CreateDefault(); + SvxUnderlineItem( const FontLineStyle eSt, const sal_uInt16 nId ); @@ -100,6 +102,8 @@ public: class EDITENG_DLLPUBLIC SvxOverlineItem : public SvxTextLineItem { public: + static SfxPoolItem* CreateDefault(); + SvxOverlineItem( const FontLineStyle eSt, const sal_uInt16 nId ); |