diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-21 12:02:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-21 13:53:20 +0200 |
commit | d4d16d8a27517930bdc9e9a308da287d367dd622 (patch) | |
tree | 5c37e8317dd85c2a9d93eab152133512d9c1408e /sc/source | |
parent | 823377b707fda94222a99b6710363f392fd9e4dd (diff) |
fdo#46808, Remove unnecessary XMultiServiceFactory member
.. and associated methods
Change-Id: Iec01b4615decc1616e405166088d7d1d844ac0ae
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/oox/excelfilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/excelfilter.cxx b/sc/source/filter/oox/excelfilter.cxx index b54d09cedd92..379b323d9e2a 100644 --- a/sc/source/filter/oox/excelfilter.cxx +++ b/sc/source/filter/oox/excelfilter.cxx @@ -175,7 +175,7 @@ sal_Bool SAL_CALL ExcelFilter::filter( const ::com::sun::star::uno::Sequence< :: if ( isExportFilter() ) { - Reference< XExporter > xExporter( getServiceFactory()->createInstance( "com.sun.star.comp.oox.ExcelFilterExport" ), UNO_QUERY ); + Reference< XExporter > xExporter( Reference<XMultiServiceFactory>(getComponentContext()->getServiceManager(), UNO_QUERY_THROW)->createInstance( "com.sun.star.comp.oox.ExcelFilterExport" ), UNO_QUERY );; if ( xExporter.is() ) { |