Kaydet (Commit) dc773e81 authored tarafından Ashod Nakashian's avatar Ashod Nakashian Kaydeden (comit) Ashod Nakashian

LOK: support password-protected PDF docs

Change-Id: I1a1177ae7eb5af4ade2863dedf8bab7188152c5e
Reviewed-on: https://gerrit.libreoffice.org/45547Reviewed-by: 's avatarAshod Nakashian <ashnakash@gmail.com>
Tested-by: 's avatarAshod Nakashian <ashnakash@gmail.com>
üst 551543bf
......@@ -250,14 +250,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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment