summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabview5.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabview5.cxx')
-rw-r--r--sc/source/ui/view/tabview5.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx
index 971fe9cb0cc0..c3f551647305 100644
--- a/sc/source/ui/view/tabview5.cxx
+++ b/sc/source/ui/view/tabview5.cxx
@@ -335,7 +335,7 @@ void ScTabView::UpdateLayerLocks()
pDrawView->SetLayerLocked( pLayer->GetName(), bProt || !bEx || bShared );
pLayer = rAdmin.GetLayerPerID(SC_LAYER_INTERN);
if (pLayer)
- pDrawView->SetLayerLocked( pLayer->GetName(), true );
+ pDrawView->SetLayerLocked( pLayer->GetName() );
pLayer = rAdmin.GetLayerPerID(SC_LAYER_FRONT);
if (pLayer)
pDrawView->SetLayerLocked( pLayer->GetName(), bProt || bShared );
@@ -478,7 +478,7 @@ void ScTabView::DrawEnableAnim(bool bSet)
{
if ( !pDrawView->IsAnimationEnabled() )
{
- pDrawView->SetAnimationEnabled(true);
+ pDrawView->SetAnimationEnabled();
// Animierte GIFs muessen wieder gestartet werden:
ScDocument* pDoc = aViewData.GetDocument();