summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-04-12 10:18:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-04-12 12:17:49 +0200
commit08495e24e899c2fd52b9724d993598189e12fc7e (patch)
treef8ce90f090b3fbc6e685f1a026751ffe04c141a9 /unoxml
parent8f9523b3ef464731afed61a253c958644fca6335 (diff)
OUString::intern is a relic
and a pessimisation. Remove usage thereof. Change-Id: I98f6197aa375349b909a7ef1403ec06ca37890d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150269 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/rdf/CURI.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx
index 488aa3e90798..0de8bb97e9db 100644
--- a/unoxml/source/rdf/CURI.cxx
+++ b/unoxml/source/rdf/CURI.cxx
@@ -707,8 +707,8 @@ void CURI::initFromConstant(const sal_Int16 i_Constant)
throw css::lang::IllegalArgumentException(
"CURI::initialize: invalid URIs constant argument", *this, 0);
}
- m_Namespace = OUString::createFromAscii(ns).intern();
- m_LocalName = OUString::createFromAscii(ln).intern();
+ m_Namespace = OUString::createFromAscii(ns);
+ m_LocalName = OUString::createFromAscii(ln);
}
// css::lang::XInitialization: