diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/viewfunc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index 3ac263c0165e..a940afba1bea 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -2551,7 +2551,7 @@ bool ScViewFunc::Unprotect( SCTAB nTab, const OUString& rPassword ) if ( nTab == TABLEID_DOC || rMark.GetSelectCount() <= 1 ) { bChanged = rFunc.Unprotect( nTab, rPassword, false ); - if (bChanged) + if (bChanged && nTab != TABLEID_DOC) SetTabProtectionSymbol(nTab, false); } else |