diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-12 14:40:20 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-12 14:40:20 +0100 |
commit | 791ad3e170bcb5a2daedac77932dc9822f7f1092 (patch) | |
tree | 7ea16063ce5e3010a62f91f73572aca50080a0ec /include/svl | |
parent | b501417f23f2d87c774603b687094c8017e13bb6 (diff) |
Stick to exact-type check
fa91dd31f39a24329d288d4e1cda28db3a16af0d "5th step to remove tools/rtti.hxx" had
changed this from an exact-type check
pObject->Type() == TYPE(SdrRectObj)
to a type-or-subtype-of check
dynamic_cast< const SdrRectObj* >(pObject) != nullptr
but SdrRectObject is not a final class (SdrCaptionObj, SdrCircObj, ... derive
from it).
Change-Id: Ia820ee5475fbaf7a00ab0093d949c3cbd3406f83
Diffstat (limited to 'include/svl')
0 files changed, 0 insertions, 0 deletions