summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-22 15:29:45 +0200
committerNoel Grandin <noel@peralex.com>2015-12-23 08:13:53 +0200
commit1dbe54fd2e0c776c1f11c20bdb029fab14fc61ad (patch)
tree67a8bedde3368176b6a247275b960e05afed1e6a /filter
parent7ecfdc8b97543fd50ee037632454b3c51e33e4bf (diff)
loplugin:unusedfields in /include
Change-Id: Ia406e727890a365cc89831c96140cad8240f9b61
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/svdfppt.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index f9d14e830fd7..f4162984a2e3 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -1882,9 +1882,8 @@ SdrObject* SdrPowerPointImport::ImportOLE( long nOLEId,
}
if ( !pRet && ( pOe->nType == PPT_PST_ExControl ) )
{
- uno::Reference< io::XInputStream > xIStrm = new utl::OSeekableInputStreamWrapper(*pDest );
uno::Reference< frame::XModel > xModel( pOe->pShell->GetModel() );
- PPTConvertOCXControls aPPTConvertOCXControls( this, xIStrm, xModel, eAktPageKind );
+ PPTConvertOCXControls aPPTConvertOCXControls( this, xModel, eAktPageKind );
css::uno::Reference< css::drawing::XShape > xShape;
if ( aPPTConvertOCXControls.ReadOCXStream( xObjStor, &xShape ) )
pRet = GetSdrObjectFromXShape( xShape );