[Libreoffice-commits] core.git: unoxml/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 5 14:17:53 UTC 2020


 unoxml/source/dom/element.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit af1f10879672005d268139f9b0b11fee680ed3f4
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Jun 5 14:23:16 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Jun 5 16:17:20 2020 +0200

    Upcoming loplugin:elidestringvar: unoxml
    
    Change-Id: I3b9aad378c13019f0411ce3adf5fadd588eda5ac
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95594
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/unoxml/source/dom/element.cxx b/unoxml/source/dom/element.cxx
index a729601c57e9..afef8b313b29 100644
--- a/unoxml/source/dom/element.cxx
+++ b/unoxml/source/dom/element.cxx
@@ -189,12 +189,11 @@ namespace DOM
                 i_rContext.mxCurrentHandler->endFastElement( nElementToken );
             else
             {
-                const OUString aNamespace;
                 const OUString aElementName( reinterpret_cast<char const *>(pPrefix),
                                              strlen(reinterpret_cast<char const *>(pPrefix)),
                                              RTL_TEXTENCODING_UTF8 );
 
-                i_rContext.mxCurrentHandler->endUnknownElement( aNamespace, aElementName );
+                i_rContext.mxCurrentHandler->endUnknownElement( "", aElementName );
             }
         }
         catch( Exception& )


More information about the Libreoffice-commits mailing list