diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:38:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:37 +0100 |
commit | 3607b14acd6541d31e7a882e83b743423d8a22b7 (patch) | |
tree | 15fe9677d7de6899f84b471d77d5a28f42f9a752 /unoxml/source/dom | |
parent | 994cc6c8689f7186193ce504c92fc2bc2fdcb560 (diff) |
unoxml: Use appropriate OUString functions on string constants
Change-Id: I6be6717b1714e2f7115ec8e27c5026a439bf1b05
Diffstat (limited to 'unoxml/source/dom')
-rw-r--r-- | unoxml/source/dom/element.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/element.cxx b/unoxml/source/dom/element.cxx index 1b935050043d..03eacf4433fd 100644 --- a/unoxml/source/dom/element.cxx +++ b/unoxml/source/dom/element.cxx @@ -65,7 +65,7 @@ namespace DOM strlen(reinterpret_cast<const char*>(pPrefix)), RTL_TEXTENCODING_UTF8); OUString name = (prefix.isEmpty()) - ? OUString( "xmlns" ) : OUString( "xmlns:" ) + prefix; + ? OUString( "xmlns" ) : "xmlns:" + prefix; const xmlChar *pHref = pNs->href; OUString val(reinterpret_cast<const sal_Char*>(pHref), strlen(reinterpret_cast<const char*>(pHref)), |