summaryrefslogtreecommitdiff
path: root/svl/source/items/stritem.cxx
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2015-11-07 14:43:19 +0100
committerOliver Specht <oliver.specht@cib.de>2015-11-11 10:49:30 +0000
commitfa91dd31f39a24329d288d4e1cda28db3a16af0d (patch)
tree603d7c206ac0ec1f1a08cc9f3bf8835bd8d2fb2f /svl/source/items/stritem.cxx
parentc21ddcdb30b8dd7be56176e00bc2d4780cb342e1 (diff)
5th step to remove tools/rtti.hxx
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
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: */