[Libreoffice-commits] core.git: sd/source

Julien Nabet serval2412 at yahoo.fr
Sat Feb 1 10:37:02 PST 2014


 sd/source/filter/ppt/pptin.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 64126a2d877dbb5c8578fdfb74f77d3f04b63f38
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Feb 1 19:36:35 2014 +0100

    cppcheck: redundantAssignment
    
    Change-Id: I8f29605dd11e39da6b0d9704c4801c5a798c4078

diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 39d5b96..e28dba6 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;
 


More information about the Libreoffice-commits mailing list