Hello,

Here is a patch for writerfilter/source/ooxml/factoryimpl.xsl

(LGPLv3+ / MPL)

Julien.

commit 4f3ac6a823e5592b3596d8edc8b0c0753776b7d3
Author: serval <ser...@ilapharm.com>
Date:   Sun Dec 19 09:48:01 2010 +0100

    RTL_CONSTASCII_USTRINGPARAM

diff --git a/writerfilter/source/ooxml/factoryimpl.xsl 
b/writerfilter/source/ooxml/factoryimpl.xsl
index 8eecf4a..8945587 100644
--- a/writerfilter/source/ooxml/factoryimpl.xsl
+++ b/writerfilter/source/ooxml/factoryimpl.xsl
@@ -336,8 +336,8 @@ uno::Reference &lt; xml::sax::XFastParser &gt; 
OOXMLStreamImpl::getFastParser()
             (mxContext->getServiceManager());
 
         mxFastParser.set(xFactory->createInstanceWithContext
-            ( ::rtl::OUString::createFromAscii
-                ( "com.sun.star.xml.sax.FastParser" ), 
+            ( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM
+                ( "com.sun.star.xml.sax.FastParser" )), 
                     mxContext ), uno::UNO_QUERY_THROW);
 </xsl:text>
 <xsl:for-each select="//namespace-alias">
@@ -383,4 +383,4 @@ namespace ooxml {
 </xsl:text>
 </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to