summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/sbx/sbxobj.cxx')
-rw-r--r--basic/source/sbx/sbxobj.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx
index 4b1499944ffa..46f34f13d2e6 100644
--- a/basic/source/sbx/sbxobj.cxx
+++ b/basic/source/sbx/sbxobj.cxx
@@ -783,7 +783,7 @@ void SbxObject::Dump( SvStream& rStrm, bool bFill )
{
aLine += aAttrs2;
}
- if( !pVar->IsA( TYPE(SbxMethod) ) )
+ if( dynamic_cast<const SbxMethod *>(pVar) == nullptr )
{
aLine += " !! Not a Method !!";
}
@@ -822,7 +822,7 @@ void SbxObject::Dump( SvStream& rStrm, bool bFill )
{
aLine += aAttrs3;
}
- if( !pVar->IsA( TYPE(SbxProperty) ) )
+ if( dynamic_cast<const SbxProperty *>(pVar) == nullptr )
{
aLine += " !! Not a Property !!";
}