summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/node.cxx2
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx2
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) {
19-08-01 21:46:40 +0200'>2019-08-01tdf#126282 add English (Sri Lanka) [en-LK] 0xA409 to language listEike Rathke 2019-07-31Improved loplugin:stringconstant (now that GCC 7 supports it): i18nlangtagStephan Bergmann 2019-07-18It's Classical Armenian, not Classic [xcl-AM]Eike Rathke 2019-06-05Related: tdf#125404 alias cmn-CN to zh-CN, cmn-TW to zh-TWEike Rathke 2019-05-21tdf#42949 Fix IWYU warnings in i18nlangtag/Gabor Kelemen 2019-05-04Resolves: tdf#123948 add English (Zambia) [en-ZM] to language listEike Rathke 2019-05-02Comment stuff and @addregexEike Rathke 2019-05-02Adapt to realityEike Rathke 2019-04-25Re-generate from 3/13/2019 13.0 revisionEike Rathke 2019-04-25Generate .lst.h output with LanguageType(0x....)Eike Rathke 2019-03-18Index is not needed for single getToken callMatteo Casalin 2019-03-09out of line some heavily repeated functionsNoel Grandin 2019-03-08new loplugin constvarsNoel Grandin 2019-02-18Simplify containers iterations in [f-l]*Arkadiy Illarionov 2018-10-20Turn LanguageTag::ScriptType into scoped enumStephan Bergmann 2018-10-18clang-tidy readability-simplify-boolean-exprNoel Grandin