diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-06-04 07:41:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-06-04 15:11:42 +0200 |
commit | c851882f0a31e75108d3e492faa4aaceb5da1838 (patch) | |
tree | 235e6c484ccf1d13304cbb9dec9e0c14a2ab8048 /hwpfilter | |
parent | Change FIXME to plain comment, there apparently is nothing to do about it here (diff) | |
download | core-c851882f0a31e75108d3e492faa4aaceb5da1838.tar.gz core-c851882f0a31e75108d3e492faa4aaceb5da1838.zip |
Upcoming loplugin:elidestringvar: hwpfilter
Change-Id: I7c9a8fe33d06236f66c201267650fcbea29dc43c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95478
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpreader.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx index 0f14e1cfde36..6d8d1b86fbaa 100644 --- a/hwpfilter/source/hwpreader.hxx +++ b/hwpfilter/source/hwpreader.hxx @@ -199,9 +199,8 @@ Sequence< OUString > HwpImportFilter::getSupportedServiceNames_Static() throw () HwpImportFilter::HwpImportFilter(const Reference< XMultiServiceFactory >& rFact) { - OUString sService( WRITER_IMPORTER_NAME ); try { - Reference< XDocumentHandler > xHandler( rFact->createInstance( sService ), UNO_QUERY ); + Reference< XDocumentHandler > xHandler( rFact->createInstance( WRITER_IMPORTER_NAME ), UNO_QUERY ); HwpReader *p = new HwpReader; p->setDocumentHandler( xHandler ); |