diff --git a/forms/source/component/imgprod.cxx b/forms/source/component/imgprod.cxx index 8ee2315f366b..7e0293be334e 100644 --- a/forms/source/component/imgprod.cxx +++ b/forms/source/component/imgprod.cxx @@ -359,8 +359,6 @@ void ImageProducer::startProduction() throw(::com::sun::star::uno::RuntimeExcept sal_Bool ImageProducer::ImplImportGraphic( Graphic& rGraphic ) { - USHORT nFilter = GRFILTER_FORMAT_DONTKNOW; - if( ERRCODE_IO_PENDING == mpStm->GetError() ) mpStm->ResetError();