diff options
Diffstat (limited to 'sfx2/source/control/unoctitm.cxx')
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index ec301c7b1d3e..cb3050a93faf 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -968,7 +968,7 @@ void SfxDispatchController_Impl::StateChanged( sal_uInt16 nSID, SfxItemState eSt { if (pLastState && !IsInvalidItem(pLastState)) { - bNotify = pState->Type() != pLastState->Type() || *pState != *pLastState; + bNotify = typeid(*pState) != typeid(*pLastState) || *pState != *pLastState; delete pLastState; } pLastState = !IsInvalidItem(pState) ? pState->Clone() : pState; |