diff options
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/dom/node.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/rdf/librdf_repository.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx index f39aba6bd079..235af0bc5e0d 100644 --- a/unoxml/source/dom/node.cxx +++ b/unoxml/source/dom/node.cxx @@ -101,7 +101,7 @@ namespace DOM { sal_Int32 nNamespaceToken = FastToken::DONTKNOW; OString prefix(pPrefix, - strlen(reinterpret_cast<const char*>(pPrefix))); + strlen(pPrefix)); SAL_INFO("unoxml", "getTokenWithPrefix(): prefix " << pPrefix << ", name " << pName); diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index 63654e09efdd..169f9550f0ea 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -2426,7 +2426,7 @@ librdf_TypeConverter::convertToXNode(librdf_node* i_pNode) const RTL_TEXTENCODING_UTF8) ); if (lang) { const OUString langU( OStringToOUString( - std::string_view(reinterpret_cast<const char*>(lang)), + std::string_view(lang), RTL_TEXTENCODING_UTF8) ); return rdf::Literal::createWithLanguage(m_xContext, valueU, langU); } else if (pType) { |