Hello,
This changes the only occurrence in writer/starmath.
The wiki entry does not mention it, but should
UNOOUSTRING::createFromAscii (not OUString) be replaced as well?
There are two of that in starmath
Jani
>From da30daf2c9cf9d1f19da7b674a8896fc5fa6e453 Mon Sep 17 00:00:00 2001
From: Jani Monoses <j...@ubuntu.com>
Date: Sat, 30 Oct 2010 02:12:24 +0300
Subject: [PATCH 2/2] use RTL_CONSTASCII_USTRINGPARAM
---
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
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice