[Libreoffice-commits] .: starmath/source

Caolán McNamara caolan at kemper.freedesktop.org
Sat Oct 30 14:19:57 PDT 2010


 starmath/source/mathmlexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4aa89918486cf51a9ec4e95980292f7b1debb8de
Author: Jani Monoses <jani at ubuntu.com>
Date:   Sat Oct 30 02:12:24 2010 +0300

    use RTL_CONSTASCII_USTRINGPARAM

diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 97088bb..00ad280 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));


More information about the Libreoffice-commits mailing list