summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuolbull.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuolbull.cxx')
-rw-r--r--sd/source/ui/func/fuolbull.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuolbull.cxx b/sd/source/ui/func/fuolbull.cxx
index 653562aeb61e..f13a8035cc0a 100644
--- a/sd/source/ui/func/fuolbull.cxx
+++ b/sd/source/ui/func/fuolbull.cxx
@@ -99,7 +99,7 @@ void FuOutlineBullet::DoExecute( SfxRequest& rReq )
std::unique_ptr< OutlineViewModelChangeGuard > aGuard;
- if (mpView->ISA(OutlineView))
+ if( dynamic_cast< const OutlineView *>( mpView ) != nullptr)
{
pOLV = static_cast<OutlineView*>(mpView)
->GetViewByWindow(mpViewShell->GetActiveWindow());
@@ -236,7 +236,7 @@ void FuOutlineBullet::SetCurrentBulletsNumbering(SfxRequest& rReq)
OutlinerView* pOLV = mpView->GetTextEditOutlinerView();
std::unique_ptr< OutlineViewModelChangeGuard > aGuard;
{
- if (mpView->ISA(OutlineView))
+ if( dynamic_cast< const OutlineView *>( mpView ) != nullptr)
{
pOLV = static_cast<OutlineView*>(mpView)
->GetViewByWindow(mpViewShell->GetActiveWindow());