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

New commits:
commit 49b90c89ab054b245a4ffda4ce3c579b9d767d55
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/4702
    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 1a80ed1..7ef48fd 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -812,7 +812,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