Kaydet (Commit) 5129d01a authored tarafından Markus Mohrhard's avatar Markus Mohrhard

only allow to change conditional formatting if sheet is not protected

Change-Id: I38a812a4d4ce24fb9ad65c438f6e001b376f319e
üst b6ee7da3
......@@ -5063,6 +5063,9 @@ void ScDocFunc::ReplaceConditionalFormat( sal_uLong nOldFormat, ScConditionalFor
{
ScDocShellModificator aModificator(rDocShell);
ScDocument* pDoc = rDocShell.GetDocument();
if(pDoc->IsTabProtected(nTab))
return;
if(nOldFormat)
{
pDoc->DeleteConditionalFormat(nOldFormat, nTab);
......
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