summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuvect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuvect.cxx')
-rw-r--r--sd/source/ui/func/fuvect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fuvect.cxx b/sd/source/ui/func/fuvect.cxx
index 2ceda3bc7d70..a4fbbf00c654 100644
--- a/sd/source/ui/func/fuvect.cxx
+++ b/sd/source/ui/func/fuvect.cxx
@@ -61,7 +61,7 @@ void FuVectorize::DoExecute( SfxRequest& )
{
SdrObject* pObj = rMarkList.GetMark( 0 )->GetMarkedSdrObj();
- if( pObj && pObj->ISA( SdrGrafObj ) )
+ if( pObj && dynamic_cast< const SdrGrafObj *>( pObj ) != nullptr )
{
SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create();
std::unique_ptr<AbstractSdVectorizeDlg> pDlg(pFact ? pFact->CreateSdVectorizeDlg( mpWindow, static_cast<SdrGrafObj*>( pObj )->GetGraphic().GetBitmap(), mpDocSh ) : 0);