hwpfilter/source/hwpreader.hxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit c851882f0a31e75108d3e492faa4aaceb5da1838
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Jun 4 07:41:16 2020 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Jun 4 15:11:42 2020 +0200

    Upcoming loplugin:elidestringvar: hwpfilter
    
    Change-Id: I7c9a8fe33d06236f66c201267650fcbea29dc43c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95478
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

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 );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to