diff options
Diffstat (limited to 'tools/source/xml/XmlWalker.cxx')
-rw-r--r-- | tools/source/xml/XmlWalker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/xml/XmlWalker.cxx b/tools/source/xml/XmlWalker.cxx index ca5c2c96eb2b..736cd07edeba 100644 --- a/tools/source/xml/XmlWalker.cxx +++ b/tools/source/xml/XmlWalker.cxx @@ -93,7 +93,7 @@ OString XmlWalker::attribute(const OString& sName) { xmlChar* xmlName = xmlCharStrdup(sName.getStr()); xmlChar* xmlAttribute = xmlGetProp(mpImpl->mpCurrent, xmlName); - OString aAttributeContent = OString(reinterpret_cast<const char*>(xmlAttribute)); + OString aAttributeContent(reinterpret_cast<const char*>(xmlAttribute)); xmlFree(xmlAttribute); xmlFree(xmlName); |