summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabvwshf.cxx')
-rw-r--r--sc/source/ui/view/tabvwshf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwshf.cxx b/sc/source/ui/view/tabvwshf.cxx
index c3959c606434..132789c6d05f 100644
--- a/sc/source/ui/view/tabvwshf.cxx
+++ b/sc/source/ui/view/tabvwshf.cxx
@@ -460,7 +460,7 @@ void ScTabViewShell::ExecuteTable( SfxRequest& rReq )
while ( pSh )
{
- pScSh = PTR_CAST( ScDocShell, pSh );
+ pScSh = dynamic_cast<ScDocShell*>( pSh );
if( pScSh )
{