Kaydet (Commit) c3a732a1 authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Eike Rathke

tdf#118547: Remove lock mark only if password is correct

Change-Id: I9f5731dfaaf9b4cc67e600a8b1c01709e7c9ba99
Reviewed-on: https://gerrit.libreoffice.org/57044
Tested-by: Jenkins
Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
üst ec68d58a
...@@ -2557,10 +2557,11 @@ bool ScViewFunc::Unprotect( SCTAB nTab, const OUString& rPassword ) ...@@ -2557,10 +2557,11 @@ bool ScViewFunc::Unprotect( SCTAB nTab, const OUString& rPassword )
pDocSh->GetUndoManager()->LeaveListAction(); pDocSh->GetUndoManager()->LeaveListAction();
} }
SetTabProtectionSymbol(nTab, false);
if (bChanged) if (bChanged)
{
SetTabProtectionSymbol(nTab, false);
UpdateLayerLocks(); //! broadcast to all views UpdateLayerLocks(); //! broadcast to all views
}
return bChanged; return bChanged;
} }
......
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