[PATCH 2/2] use RTL_CONSTASCII_USTRINGPARAM
Jani Monoses
jani at ubuntu.com
Fri Oct 29 16:12:24 PDT 2010
---
starmath/source/mathmlexport.cxx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 97088bb..c5fdd81 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(RTL_CONSTASCII_USTRINGPARAM("")), GetXMLToken(XML_N_MATH), XML_NAMESPACE_MATH );
rList.AddAttribute(GetNamespaceMap().GetAttrNameByKey(XML_NAMESPACE_MATH_IDX),
GetNamespaceMap().GetNameByKey( XML_NAMESPACE_MATH_IDX));
--
1.7.0.4
--------------070204090006080009010006--
More information about the LibreOffice
mailing list