diff options
Diffstat (limited to 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index 19ba7680a1fe..bc2edefd3115 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -1004,7 +1004,7 @@ void ScDocShell::Execute( SfxRequest& rReq ) InvalidateName(); GetUndoManager()->Clear(); - ScTabView* pTabView = dynamic_cast< ScTabView* >( pViewData->GetView() ); + ScTabView* pTabView = pViewData->GetView(); if ( pTabView ) { pTabView->UpdateLayerLocks(); @@ -1099,7 +1099,7 @@ void ScDocShell::Execute( SfxRequest& rReq ) pBindings->ExecuteSynchron( SID_SAVEDOC ); } - ScTabView* pTabView = dynamic_cast< ScTabView* >( pViewData->GetView() ); + ScTabView* pTabView = pViewData->GetView(); if ( pTabView ) { pTabView->UpdateLayerLocks(); |