diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-06-05 14:23:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-06-05 16:17:20 +0200 |
commit | af1f10879672005d268139f9b0b11fee680ed3f4 (patch) | |
tree | a4685624c6f5752cbae62b299759057906b855c3 /unoxml | |
parent | 3bc5057f9689e024957cfa898a221ee2c4c4afe7 (diff) |
Upcoming loplugin:elidestringvar: unoxml
Change-Id: I3b9aad378c13019f0411ce3adf5fadd588eda5ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95594
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/dom/element.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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& ) |