summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/dlg/dlgass.cxx3
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;
}
}
}