summaryrefslogtreecommitdiff
path: root/svl/source/items/stritem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/stritem.cxx')
-rw-r--r--svl/source/items/stritem.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svl/source/items/stritem.cxx b/svl/source/items/stritem.cxx
index dea5550102c9..d2665fe3fa4c 100644
--- a/svl/source/items/stritem.cxx
+++ b/svl/source/items/stritem.cxx
@@ -24,7 +24,6 @@
// class SfxStringItem
-TYPEINIT1_AUTOFACTORY(SfxStringItem, CntUnencodedStringItem)
// virtual
SfxStringItem::SfxStringItem(sal_uInt16 which, SvStream & rStream):
@@ -60,5 +59,8 @@ void SfxStringItem::dumpAsXml(xmlTextWriterPtr pWriter) const
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(GetValue().toUtf8().getStr()));
xmlTextWriterEndElement(pWriter);
}
-
+SfxPoolItem* SfxStringItem::CreateDefault()
+{
+ return new SfxStringItem();
+};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */