diff options
Diffstat (limited to 'sd/source/ui/dlg/LayerTabBar.cxx')
-rw-r--r-- | sd/source/ui/dlg/LayerTabBar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/LayerTabBar.cxx b/sd/source/ui/dlg/LayerTabBar.cxx index 4e47bbc81121..e1127c3a0fb7 100644 --- a/sd/source/ui/dlg/LayerTabBar.cxx +++ b/sd/source/ui/dlg/LayerTabBar.cxx @@ -234,7 +234,7 @@ void LayerTabBar::EndRenaming() if( !IsEditModeCanceled() ) { ::sd::View* pView = pDrViewSh->GetView(); - DrawView* pDrView = PTR_CAST( DrawView, pView ); + DrawView* pDrView = dynamic_cast<DrawView*>( pView ); SdDrawDocument& rDoc = pView->GetDoc(); OUString aLayerName = pView->GetActiveLayer(); |