summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
Diffstat (limited to 'idl')
-rw-r--r--idl/source/objects/slot.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx
index 538d0af4dce6..2d9de3271d2d 100644
--- a/idl/source/objects/slot.cxx
+++ b/idl/source/objects/slot.cxx
@@ -1020,7 +1020,7 @@ void SvMetaSlot::Insert( SvSlotElementList& rList, const OString& rPrefix,
SvMetaAttribute * pAttr = rBase.GetAttrList()[m];
if (aSId.equals(pAttr->GetSlotId().getString()))
{
- SvMetaSlot* pSlot = PTR_CAST( SvMetaSlot, pAttr );
+ SvMetaSlot* pSlot = dynamic_cast<SvMetaSlot*>(pAttr);
xEnumSlot = pSlot->Clone();
break;
}