summaryrefslogtreecommitdiff
path: root/desktop/source/lib/lokinteractionhandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/lib/lokinteractionhandler.cxx')
-rw-r--r--desktop/source/lib/lokinteractionhandler.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/desktop/source/lib/lokinteractionhandler.cxx b/desktop/source/lib/lokinteractionhandler.cxx
index 96d35a235efc..8c77471eb4be 100644
--- a/desktop/source/lib/lokinteractionhandler.cxx
+++ b/desktop/source/lib/lokinteractionhandler.cxx
@@ -248,14 +248,22 @@ bool LOKInteractionHandler::handlePasswordRequest(const uno::Sequence<uno::Refer
OString sUrl;
- task::DocumentPasswordRequest2 passwordRequest;
+ task::DocumentPasswordRequest passwordRequest;
if (rRequest >>= passwordRequest)
{
- bIsRequestPasswordToModify = passwordRequest.IsRequestPasswordToModify;
+ bIsRequestPasswordToModify = false;
sUrl = passwordRequest.Name.toUtf8();
bPasswordRequestFound = true;
}
+ task::DocumentPasswordRequest2 passwordRequest2;
+ if (rRequest >>= passwordRequest2)
+ {
+ bIsRequestPasswordToModify = passwordRequest2.IsRequestPasswordToModify;
+ sUrl = passwordRequest2.Name.toUtf8();
+ bPasswordRequestFound = true;
+ }
+
task::DocumentMSPasswordRequest2 passwordMSRequest;
if (rRequest >>= passwordMSRequest)
{