diff options
Diffstat (limited to 'svx/source/tbxctrls/colrctrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/colrctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx index c3753afbe0e5..0d8ad1a2b725 100644 --- a/svx/source/tbxctrls/colrctrl.cxx +++ b/svx/source/tbxctrls/colrctrl.cxx @@ -247,7 +247,7 @@ SvxColorDockingWindow::~SvxColorDockingWindow() void SvxColorDockingWindow::Notify( SfxBroadcaster& , const SfxHint& rHint ) { - const SfxPoolItemHint *pPoolItemHint = PTR_CAST(SfxPoolItemHint, &rHint); + const SfxPoolItemHint* pPoolItemHint = dynamic_cast<const SfxPoolItemHint*>(&rHint); if ( pPoolItemHint && ( pPoolItemHint->GetObject()->ISA( SvxColorListItem ) ) ) { |