diff options
Diffstat (limited to 'unoxml/source/dom/element.cxx')
-rw-r--r-- | unoxml/source/dom/element.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/source/dom/element.cxx b/unoxml/source/dom/element.cxx index afef8b313b29..f5dd67304d6b 100644 --- a/unoxml/source/dom/element.cxx +++ b/unoxml/source/dom/element.cxx @@ -659,11 +659,11 @@ namespace DOM if (idx != -1) { o2 = OUStringToOString( - qualifiedName.copy(0,idx), + qualifiedName.subView(0,idx), RTL_TEXTENCODING_UTF8); pPrefix = reinterpret_cast<xmlChar const *>(o2.getStr()); o3 = OUStringToOString( - qualifiedName.copy(idx+1), + qualifiedName.subView(idx+1), RTL_TEXTENCODING_UTF8); pLName = reinterpret_cast<xmlChar const *>(o3.getStr()); } else { |