From 64126a2d877dbb5c8578fdfb74f77d3f04b63f38 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 1 Feb 2014 19:36:35 +0100 Subject: cppcheck: redundantAssignment Change-Id: I8f29605dd11e39da6b0d9704c4801c5a798c4078 --- sd/source/filter/ppt/pptin.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sd') diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index 39d5b96d15cd..e28dba65afc0 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -2723,10 +2723,8 @@ ImplSdPPTImport::ReadFormControl( SotStorageRef& rSrc1, com::sun::star::uno::Ref extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL ImportPPT( SdDrawDocument* pDocument, SvStream& rDocStream, SvStorage& rStorage, SfxMedium& rMedium ) { - sal_Bool bRet = sal_False; - SdPPTImport* pImport = new SdPPTImport( pDocument, rDocStream, rStorage, rMedium ); - bRet = pImport->Import(); + sal_Bool bRet = pImport->Import(); delete pImport; -- cgit