summaryrefslogtreecommitdiff
path: root/comphelper/source/xml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-02 18:47:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-03 09:18:55 +0200
commit8a9f358538e4321c64923706afeb4c594debc3eb (patch)
tree8672b452bec988566b02c52466831bed17521ce8 /comphelper/source/xml
parent4209a4781071e778224c78fda498d09b3580448d (diff)
Upcoming loplugin:elidestringvar: comphelper
Change-Id: Id388af90ca2c3dff435a1a6261e3de0c3c0dbdbd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95376 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'comphelper/source/xml')
-rw-r--r--comphelper/source/xml/ofopxmlhelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/comphelper/source/xml/ofopxmlhelper.cxx b/comphelper/source/xml/ofopxmlhelper.cxx
index bde7bb00280e..70df6fea96a6 100644
--- a/comphelper/source/xml/ofopxmlhelper.cxx
+++ b/comphelper/source/xml/ofopxmlhelper.cxx
@@ -91,8 +91,7 @@ uno::Sequence< uno::Sequence< beans::StringPair > > ReadContentTypeSequence(
const uno::Reference< io::XInputStream >& xInStream,
const uno::Reference< uno::XComponentContext >& rContext )
{
- OUString aStringID = "[Content_Types].xml";
- return ReadSequence_Impl( xInStream, aStringID, CONTENTTYPE_FORMAT, rContext );
+ return ReadSequence_Impl( xInStream, "[Content_Types].xml", CONTENTTYPE_FORMAT, rContext );
}
OUString GetContentTypeByName(