[Libreoffice-commits] .: writerfilter/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Dec 20 02:46:37 PST 2010


 writerfilter/source/ooxml/factoryimpl.xsl |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 10535b20ef458d4c75da5767ea50f1d64d9dd932
Author: serval <serval at ilapharm.com>
Date:   Mon Dec 20 10:46:28 2010 +0000

    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>


More information about the Libreoffice-commits mailing list