Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Hello,

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

(LGPLv3+ / MPL)

Julien.

commit 4f3ac6a823e5592b3596d8edc8b0c0753776b7d3
Author: serval <serval@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>

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.