Kaydet (Commit) 1fb69ba2 authored tarafından Adrien's avatar Adrien Kaydeden (comit) Caolán McNamara

Fix bug 47680, accept change is not displayed if file is protected

Change-Id: Ic37d96c0f3cad6eba9a4e9327463f70ebbbfd317
Reviewed-on: https://gerrit.libreoffice.org/5501Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 1cfbfdbb
......@@ -271,6 +271,8 @@ void SwView::GetState(SfxItemSet &rSet)
SwPaM *pCursor = m_pWrtShell->GetCrsr();
if (0 == pDoc->GetRedline(*pCursor->Start(), 0))
rSet.DisableItem(nWhich);
if (GetDocShell()->HasChangeRecordProtection())
rSet.DisableItem(nWhich);
}
break;
......
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