You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2022/06/17 17:38:08 UTC
[openoffice] 05/07: Do not attempt to remove entries from an empty structure
This is an automated email from the ASF dual-hosted git repository.
ardovm pushed a commit to branch catalina
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 8fafcfcb98acba54c92178660e195f5a635bf9d3
Author: Arrigo Marchiori <ar...@yahoo.it>
AuthorDate: Fri Jun 3 10:54:08 2022 +0200
Do not attempt to remove entries from an empty structure
(cherry picked from commit 9c3ea9f6efc0f26d0db7f02ac520950b41ca0956)
---
main/svl/source/passwordcontainer/passwordcontainer.cxx | 3 ---
1 file changed, 3 deletions(-)
diff --git a/main/svl/source/passwordcontainer/passwordcontainer.cxx b/main/svl/source/passwordcontainer/passwordcontainer.cxx
index 07e45a7299..c9b91fec5f 100644
--- a/main/svl/source/passwordcontainer/passwordcontainer.cxx
+++ b/main/svl/source/passwordcontainer/passwordcontainer.cxx
@@ -1154,9 +1154,6 @@ void SAL_CALL PasswordContainer::removeAllPersistent() throw(RuntimeException)
{
// TODO/LATER: should the password be converted to MemoryPassword?
aNPIter->RemovePasswords( PERSISTENT_RECORD );
-
- if ( m_pStorageFile )
- m_pStorageFile->remove( aIter->first, aNPIter->GetUserName() ); // remove record ( aURL, aName )
}
if( !aNPIter->HasPasswords( MEMORY_RECORD ) )