summaryrefslogtreecommitdiff
path: root/idl/source/objects/types.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idl/source/objects/types.cxx')
-rw-r--r--idl/source/objects/types.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx
index cf9cfa91cf88..fbf7f3556b09 100644
--- a/idl/source/objects/types.cxx
+++ b/idl/source/objects/types.cxx
@@ -388,7 +388,7 @@ sal_uLong SvMetaAttribute::MakeSlotValue( SvIdlDataBase & rBase, bool bVar ) con
n = n << 20;
n += rBase.aStructSlotId.GetValue();
}
- if( PTR_CAST( SvMetaSlot, this ) )
+ if (dynamic_cast<const SvMetaSlot*>(this))
n |= 0x20000;
if( !bVar )
n += 0x10000;