Kaydet (Commit) 317f154d authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

Extend metafile to xml dump testing tool with more MFT actions

Change-Id: I819de476c6a615b8cf27a6a26d41a6e9ac25ef85
üst 4fa4f385
This diff is collapsed.
...@@ -73,7 +73,12 @@ void XmlWriter::attribute(const OString& name, const sal_Int32 aNumber) ...@@ -73,7 +73,12 @@ void XmlWriter::attribute(const OString& name, const sal_Int32 aNumber)
void XmlWriter::content(const OUString& aValue) void XmlWriter::content(const OUString& aValue)
{ {
xmlChar* xmlValue = xmlCharStrdup(OUStringToOString(aValue, RTL_TEXTENCODING_UTF8).getStr()); content(OUStringToOString(aValue, RTL_TEXTENCODING_UTF8));
}
void XmlWriter::content(const OString& aValue)
{
xmlChar* xmlValue = xmlCharStrdup(aValue.getStr());
xmlTextWriterWriteString(mpWriter, xmlValue); xmlTextWriterWriteString(mpWriter, xmlValue);
xmlFree(xmlValue); xmlFree(xmlValue);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment