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

Julien Nabet serval2412 at yahoo.fr
Sat Sep 7 10:16:11 PDT 2013


 sd/source/ui/dlg/dlgass.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit ea09648aee0f6924418657311983102cc9069b39
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Sep 7 19:14:43 2013 +0200

    No need to check if null here
    
    Change-Id: I4e3841d72eb0dd72ae47f6b75126e559067dd5bf

diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx
index 892d64e..0de4bf8 100644
--- a/sd/source/ui/dlg/dlgass.cxx
+++ b/sd/source/ui/dlg/dlgass.cxx
@@ -1673,8 +1673,7 @@ void AssistentDlgImpl::SavePassword( SfxObjectShellLock xDoc, const OUString& rP
                 maPasswordList.push_back( pEntry );
             }
 
-            if(pEntry)
-                pEntry->aEncryptionData = aEncryptionData;
+            pEntry->aEncryptionData = aEncryptionData;
           }
         }
     }


More information about the Libreoffice-commits mailing list