summaryrefslogtreecommitdiffstats
path: root/tools/source/xml/XmlWriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/xml/XmlWriter.cxx')
-rw-r--r--tools/source/xml/XmlWriter.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/source/xml/XmlWriter.cxx b/tools/source/xml/XmlWriter.cxx
index 7780bbb35fb5..3400a6e9d94b 100644
--- a/tools/source/xml/XmlWriter.cxx
+++ b/tools/source/xml/XmlWriter.cxx
@@ -136,6 +136,11 @@ void XmlWriter::attribute(const OString& name, const sal_Int32 aNumber)
attribute(name, OUString::number(aNumber));
}
+void XmlWriter::attributeDouble(const OString& name, const double aNumber)
+{
+ attribute(name, OUString::number(aNumber));
+}
+
void XmlWriter::content(const OString& sValue)
{
xmlChar* xmlValue = xmlCharStrdup(sValue.getStr());