diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-02-01 19:36:35 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-02-01 19:36:35 +0100 |
commit | 64126a2d877dbb5c8578fdfb74f77d3f04b63f38 (patch) | |
tree | 8d31e67edd56d281f99ecec3011956b722068cc8 /sd | |
parent | ae7880ea4957a6c1d7e5045842a864d8bdced39f (diff) |
cppcheck: redundantAssignment
Change-Id: I8f29605dd11e39da6b0d9704c4801c5a798c4078
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/ppt/pptin.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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; |