Kaydet (Commit) d064ced9 authored tarafından Julien Nabet's avatar Julien Nabet

Related tdf#118547: Lock mark on protected sheet tab

Fix opposite case, see https://bugs.documentfoundation.org/show_bug.cgi?id=118547#c10

Change-Id: I2c4e55f8929b1979e71a4040dfac1ba7cff51aeb
Reviewed-on: https://gerrit.libreoffice.org/59035
Tested-by: Jenkins
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst e264e31c
......@@ -2549,7 +2549,11 @@ bool ScViewFunc::Unprotect( SCTAB nTab, const OUString& rPassword )
bool bUndo (rDoc.IsUndoEnabled());
if ( nTab == TABLEID_DOC || rMark.GetSelectCount() <= 1 )
{
bChanged = rFunc.Unprotect( nTab, rPassword, false );
if (bChanged)
SetTabProtectionSymbol(nTab, false);
}
else
{
// modifying several tabs is handled here
......
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