diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2018-01-07 12:05:53 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-01-07 09:34:44 +0100 |
commit | e1fb3d95ac6d58b60448981e82d90621cad7fea5 (patch) | |
tree | 0a409b12d7356847cde99572589ccc6953529e57 /tools | |
parent | 27da558d7c1fe45b58d0bcc28b961fabbc5f2f1a (diff) |
Remove XmlWriter in test module and use tools::XmlWriter
Change-Id: I0a0e07a6a71ed95d783d35b7d94b857074ec3450
Reviewed-on: https://gerrit.libreoffice.org/47523
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/xml/XmlWriter.cxx | 6 |
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: */ |