summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Monoses <jani@ubuntu.com>2010-10-30 02:12:24 +0300
committerCaolán McNamara <caolanm@redhat.com>2010-10-30 22:19:25 +0100
commit4aa89918486cf51a9ec4e95980292f7b1debb8de (patch)
tree367d67c4d814503dc24b146acd72379e7d0c5558
parent9aba25f28d58d2dac006ec88ab01e8764ff80b25 (diff)
use RTL_CONSTASCII_USTRINGPARAMfeature/rodatastrings
-rw-r--r--starmath/source/mathmlexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 97088bb561..00ad280ac0 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -621,7 +621,7 @@ sal_uInt32 SmXMLExport::exportDoc(enum XMLTokenEnum eClass)
// make use of a default namespace
ResetNamespaceMap(); // Math doesn't need namespaces from xmloff, since it now uses default namespaces (because that is common with current MathML usage in the web)
- _GetNamespaceMap().Add( OUString::createFromAscii(""), GetXMLToken(XML_N_MATH), XML_NAMESPACE_MATH );
+ _GetNamespaceMap().Add( OUString(), GetXMLToken(XML_N_MATH), XML_NAMESPACE_MATH );
rList.AddAttribute(GetNamespaceMap().GetAttrNameByKey(XML_NAMESPACE_MATH_IDX),
GetNamespaceMap().GetNameByKey( XML_NAMESPACE_MATH_IDX));