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

New commits:
commit 6faedf249f1fed22cc2b901b2a39b715902ca353
Author: Cédric Bosdonnat <cedric.bosdon...@free.fr>
Date:   Tue Jul 2 15:46:59 2013 +0200

    fastsax: provide the element name instead of prefix for unknown elements
    
    Change-Id: I3effd8a0cfe57875446536bbd0a93a73e630a44f
    (cherry picked from commit 4946cc813704703f7d988a6acf75c4d9e9c068a9)
    Reviewed-on: https://gerrit.libreoffice.org/4704
    Reviewed-by: Fridrich Strba <fridr...@documentfoundation.org>
    Tested-by: Fridrich Strba <fridr...@documentfoundation.org>

diff --git a/sax/source/fastparser/fastparser.cxx 
b/sax/source/fastparser/fastparser.cxx
index 4f63130..cf08a76 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -815,7 +815,7 @@ void FastSaxParser::callbackStartElement( const XML_Char* 
pwName, const XML_Char
                 rEntity.maContextStack.top()->maNamespace = GetNamespaceURL( 
pPrefix, nPrefixLen );
 
             const OUString aNamespace( 
rEntity.maContextStack.top()->maNamespace );
-            const OUString aElementName( pPrefix, nPrefixLen, 
RTL_TEXTENCODING_UTF8 );
+            const OUString aElementName( pName, nNameLen, 
RTL_TEXTENCODING_UTF8 );
             rEntity.maContextStack.top()->maElementName = aElementName;
 
             if( xParentContext.is() )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to