diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-09-07 19:14:43 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-09-07 19:14:43 +0200 |
commit | ea09648aee0f6924418657311983102cc9069b39 (patch) | |
tree | 0f444fa815212cdf81d64b9f382ba35d0a9d2ec9 /sd | |
parent | CID#1078580: Dereference after null check (diff) | |
download | core-ea09648aee0f6924418657311983102cc9069b39.tar.gz core-ea09648aee0f6924418657311983102cc9069b39.zip |
No need to check if null here
Change-Id: I4e3841d72eb0dd72ae47f6b75126e559067dd5bf
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/dlgass.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx index 892d64e3f7b9..0de4bf8393c8 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; } } } |