summaryrefslogtreecommitdiffstats
path: root/include/editeng/udlnitem.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-10-05 14:18:51 +0200
committerMichael Stahl <mstahl@redhat.com>2017-10-05 17:21:14 +0200
commit03041e0f8d8385847c2e77fcaf08c1d33cad938f (patch)
tree2e31aa31850e7004e57c53aeb9b58b4b9256cff9 /include/editeng/udlnitem.hxx
parentResolves: tdf#86547 width of button box is taken before spacing added (diff)
downloadcore-03041e0f8d8385847c2e77fcaf08c1d33cad938f.tar.gz
core-03041e0f8d8385847c2e77fcaf08c1d33cad938f.zip
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/editeng/udlnitem.hxx')
-rw-r--r--include/editeng/udlnitem.hxx4
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 );