diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-23 10:23:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-23 12:40:35 +0200 |
commit | 8c6b84c2c5834ab877c3edd96fd243606cfefe39 (patch) | |
tree | ba3be502bbe44fa527f89e24a1fd96d6499bc01c /filter/source/svg/svgimport.cxx | |
parent | XMLSignature_GpgImpl: Use cppu::supportsService (diff) | |
download | core-8c6b84c2c5834ab877c3edd96fd243606cfefe39.tar.gz core-8c6b84c2c5834ab877c3edd96fd243606cfefe39.zip |
loplugin:oncevar filter..forms
Change-Id: I70a8ed6dbfe08b22dbf7b7b86e9518d73c5e393a
Reviewed-on: https://gerrit.libreoffice.org/39154
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source/svg/svgimport.cxx')
-rw-r--r-- | filter/source/svg/svgimport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/svg/svgimport.cxx b/filter/source/svg/svgimport.cxx index 445d233fe6d5..6a9dc5c5f93b 100644 --- a/filter/source/svg/svgimport.cxx +++ b/filter/source/svg/svgimport.cxx @@ -89,8 +89,8 @@ bool SVGFilter::implImport(const Sequence< PropertyValue >& rDescriptor) if(!xInputStream.is()) return false; - OUString sXMLImportService ( "com.sun.star.comp.Draw.XMLOasisImporter" ); - Reference < XDocumentHandler > xInternalHandler( mxContext->getServiceManager()->createInstanceWithContext( sXMLImportService, mxContext ), UNO_QUERY ); + Reference < XDocumentHandler > xInternalHandler( + mxContext->getServiceManager()->createInstanceWithContext( "com.sun.star.comp.Draw.XMLOasisImporter", mxContext ), UNO_QUERY ); // The XImporter sets up an empty target document for XDocumentHandler to write to.. uno::Reference < XImporter > xImporter(xInternalHandler, UNO_QUERY); |