diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 21:10:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 22:04:31 +0000 |
commit | d22519f62bcd1325f1e7cc920a115b68fccd1922 (patch) | |
tree | 3b761a7f8c25f8f765c8d25662a803e47b5a7167 /hwpfilter/source/hwpreader.hxx | |
parent | d44168795aed842d524e3a349962f2b98a8ac504 (diff) |
V801: Decreased performance
Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
Diffstat (limited to 'hwpfilter/source/hwpreader.hxx')
-rw-r--r-- | hwpfilter/source/hwpreader.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx index e10c02877395..e2564e27c185 100644 --- a/hwpfilter/source/hwpreader.hxx +++ b/hwpfilter/source/hwpreader.hxx @@ -156,7 +156,7 @@ private: class HwpImportFilter : public WeakImplHelper4< XFilter, XImporter, XServiceInfo, XExtendedFilterDetection > { public: - HwpImportFilter( const Reference< XMultiServiceFactory > xFact ); + HwpImportFilter(const Reference< XMultiServiceFactory >& rFact); virtual ~HwpImportFilter(); public: @@ -201,12 +201,12 @@ Sequence< OUString > HwpImportFilter::getSupportedServiceNames_Static() throw () return aRet; } -HwpImportFilter::HwpImportFilter( const Reference< XMultiServiceFactory > xFact ) +HwpImportFilter::HwpImportFilter(const Reference< XMultiServiceFactory >& rFact) { OUString sService( WRITER_IMPORTER_NAME ); try { Reference< XDocumentHandler > - xHandler( xFact->createInstance( sService ), UNO_QUERY ); + xHandler( rFact->createInstance( sService ), UNO_QUERY ); HwpReader *p = new HwpReader; p->setDocumentHandler( xHandler ); |