unoxml/source/dom/element.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit af1f10879672005d268139f9b0b11fee680ed3f4 Author: Stephan Bergmann <[email protected]> AuthorDate: Fri Jun 5 14:23:16 2020 +0200 Commit: Stephan Bergmann <[email protected]> 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 <[email protected]> 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& ) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
