summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/frmview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/frmview.cxx')
-rw-r--r--sd/source/ui/view/frmview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx
index 03db5e64631d..c1f65c78b39f 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -84,7 +84,7 @@ FrameView::FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView /* = NULK *
// Count the FrameViews and remember the type of the main
// view shell.
SfxViewShell* pSfxViewSh = pSfxViewFrame->GetViewShell();
- ViewShellBase* pBase = PTR_CAST(ViewShellBase, pSfxViewSh );
+ ViewShellBase* pBase = dynamic_cast<ViewShellBase*>( pSfxViewSh );
if (pBase != NULL)
{