diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-06-02 18:47:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-06-03 09:18:55 +0200 |
commit | 8a9f358538e4321c64923706afeb4c594debc3eb (patch) | |
tree | 8672b452bec988566b02c52466831bed17521ce8 /comphelper/source/xml | |
parent | 4209a4781071e778224c78fda498d09b3580448d (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.cxx | 3 |
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( |