diff options
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/objects/types.cxx | 2 |
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; |