diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-04-12 10:18:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-04-12 12:17:49 +0200 |
commit | 08495e24e899c2fd52b9724d993598189e12fc7e (patch) | |
tree | f8ce90f090b3fbc6e685f1a026751ffe04c141a9 /oox/source | |
parent | 8f9523b3ef464731afed61a253c958644fca6335 (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 'oox/source')
-rw-r--r-- | oox/source/ppt/commonbehaviorcontext.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/ppt/commonbehaviorcontext.cxx b/oox/source/ppt/commonbehaviorcontext.cxx index 4ba40925a7e2..ca0a0c9ec7ac 100644 --- a/oox/source/ppt/commonbehaviorcontext.cxx +++ b/oox/source/ppt/commonbehaviorcontext.cxx @@ -83,9 +83,9 @@ namespace oox::ppt { if(msCurrentAttribute.equalsAscii( attrConv->mpMSName ) ) { Attribute attr; - attr.name = OUString::intern( attrConv->mpAPIName, - strlen(attrConv->mpAPIName), - RTL_TEXTENCODING_ASCII_US ); + attr.name = OUString( attrConv->mpAPIName, + strlen(attrConv->mpAPIName), + RTL_TEXTENCODING_ASCII_US ); attr.type = attrConv->meAttribute; maAttributes.push_back( attr ); SAL_INFO("oox.ppt", "OOX: attrName is " << msCurrentAttribute << " -> " << attrConv->mpAPIName ); |