summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/source/xml/XmlWriter.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/source/xml/XmlWriter.cxx b/tools/source/xml/XmlWriter.cxx
index 5952dde13c96..ba2c3936f51b 100644
--- a/tools/source/xml/XmlWriter.cxx
+++ b/tools/source/xml/XmlWriter.cxx
@@ -113,6 +113,12 @@ void XmlWriter::content(const OUString& sValue)
content(OUStringToOString(sValue, RTL_TEXTENCODING_UTF8));
}
+void XmlWriter::element(const OString& sName)
+{
+ startElement(sName);
+ endElement();
+}
+
} // end tools namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */