summaryrefslogtreecommitdiff
path: root/oox/source/export/shapes.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-21 12:02:40 +0200
committerNoel Grandin <noel@peralex.com>2013-05-21 13:53:20 +0200
commitd4d16d8a27517930bdc9e9a308da287d367dd622 (patch)
tree5c37e8317dd85c2a9d93eab152133512d9c1408e /oox/source/export/shapes.cxx
parent823377b707fda94222a99b6710363f392fd9e4dd (diff)
fdo#46808, Remove unnecessary XMultiServiceFactory member
.. and associated methods Change-Id: Iec01b4615decc1616e405166088d7d1d844ac0ae
Diffstat (limited to 'oox/source/export/shapes.cxx')
-rw-r--r--oox/source/export/shapes.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index 2f918c2460fc..2fc1133d7033 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -1312,7 +1312,7 @@ ShapeExport& ShapeExport::WriteOLE2Shape( Reference< XShape > xShape )
if( xSheetDoc.is() && mpFB)
{
Reference< XComponent > xDocument( mAny, UNO_QUERY );
- Reference< XExporter > xExporter( mpFB->getServiceFactory()->createInstance( "com.sun.star.comp.oox.ExcelFilterExport" ), UNO_QUERY );
+ Reference< XExporter > xExporter( Reference<css::lang::XMultiServiceFactory>(mpFB->getComponentContext()->getServiceManager(), UNO_QUERY_THROW)->createInstance( "com.sun.star.comp.oox.ExcelFilterExport" ), UNO_QUERY );;
if( xDocument.is() && xExporter.is())
{
Reference< XOutputStream > xOutStream = mpFB->openFragmentStream( OUStringBuffer()