summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2019-11-30 01:51:26 +0100
committerEike Rathke <erack@redhat.com>2019-11-30 02:50:41 +0100
commit402e05114df0aeeb53b85106e1f18140de52bfb8 (patch)
tree4ed0d8d8a1ea206b2e2eeaa7a2b314bee08ade8a /uui
parentadb7106a7c805d332c8098891996a75e6ec4caf8 (diff)
Remove nonsense check
bIsPasswordToModify was never modified there, so a check is moot. Change-Id: I96b4212452bf1ad4689c0d17d1ab41fecd8b447a Reviewed-on: https://gerrit.libreoffice.org/84098 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl-authentication.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx
index 4835a485dd2a..ec888dca9e4a 100644
--- a/uui/source/iahndl-authentication.cxx
+++ b/uui/source/iahndl-authentication.cxx
@@ -672,7 +672,6 @@ UUIInteractionHelper::handlePasswordRequest(
{
nMode = aDocumentPasswordRequest.Mode;
aDocumentName = aDocumentPasswordRequest.Name;
- OSL_ENSURE( !bIsPasswordToModify, "bIsPasswordToModify should be false" );
bDoHandleRequest = true;
break; // do
@@ -696,7 +695,6 @@ UUIInteractionHelper::handlePasswordRequest(
nMode = aDocumentMSPasswordRequest.Mode;
aDocumentName = aDocumentMSPasswordRequest.Name;
nMaxPasswordLen = 15;
- OSL_ENSURE( !bIsPasswordToModify, "bIsPasswordToModify should be false" );
bDoHandleRequest = true;
break; // do