diff options
Diffstat (limited to 'svx/source/sdr/properties/customshapeproperties.cxx')
-rw-r--r-- | svx/source/sdr/properties/customshapeproperties.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sdr/properties/customshapeproperties.cxx b/svx/source/sdr/properties/customshapeproperties.cxx index 716dfb50c469..afb4b68f032a 100644 --- a/svx/source/sdr/properties/customshapeproperties.cxx +++ b/svx/source/sdr/properties/customshapeproperties.cxx @@ -212,8 +212,8 @@ namespace sdr TextProperties::Notify( rBC, rHint ); bool bRemoveRenderGeometry = false; - const SfxStyleSheetHint *pStyleHint = PTR_CAST( SfxStyleSheetHint, &rHint ); - const SfxSimpleHint *pSimpleHint = PTR_CAST( SfxSimpleHint, &rHint ); + const SfxStyleSheetHint* pStyleHint = dynamic_cast<const SfxStyleSheetHint*>(&rHint); + const SfxSimpleHint* pSimpleHint = dynamic_cast<const SfxSimpleHint*>(&rHint); if ( pStyleHint && pStyleHint->GetStyleSheet() == GetStyleSheet() ) { |