summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-11-01 09:05:58 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-01 15:26:10 +0000
commit0e6544903bc572d1d6051cbb89a4cfb727401159 (patch)
tree5090895789c763971457ef11fc8de55aed77d019 /hwpfilter
parentb5db48ada113206ac090e4a08f2ae211859103ed (diff)
no need to be so verbose in constructing uno::Reference
Change-Id: I187a26e200e9ecaff2adaf53a2ba3f6e87346030 Reviewed-on: https://gerrit.libreoffice.org/19724 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hwpreader.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx
index a144b50afd6d..4142d94769f3 100644
--- a/hwpfilter/source/hwpreader.hxx
+++ b/hwpfilter/source/hwpreader.hxx
@@ -201,15 +201,14 @@ 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( sService ), UNO_QUERY );
HwpReader *p = new HwpReader;
p->setDocumentHandler( xHandler );
- Reference< XImporter > xImporter = Reference< XImporter >( xHandler, UNO_QUERY );
+ Reference< XImporter > xImporter( xHandler, UNO_QUERY );
rImporter = xImporter;
- Reference< XFilter > xFilter = Reference< XFilter >( p );
+ Reference< XFilter > xFilter( p );
rFilter = xFilter;
}
catch( Exception & )