summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/mvtabdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/miscdlgs/mvtabdlg.cxx')
-rw-r--r--sc/source/ui/miscdlgs/mvtabdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/miscdlgs/mvtabdlg.cxx b/sc/source/ui/miscdlgs/mvtabdlg.cxx
index a6f2f24620fe..e1f9226ae5d9 100644
--- a/sc/source/ui/miscdlgs/mvtabdlg.cxx
+++ b/sc/source/ui/miscdlgs/mvtabdlg.cxx
@@ -227,7 +227,7 @@ void ScMoveTableDlg::InitDocListBox()
while ( pSh )
{
- pScSh = PTR_CAST( ScDocShell, pSh );
+ pScSh = dynamic_cast<ScDocShell*>( pSh );
if ( pScSh )
{