summaryrefslogtreecommitdiff
path: root/accessibility/source/extended/accessibletabbarbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source/extended/accessibletabbarbase.cxx')
-rw-r--r--accessibility/source/extended/accessibletabbarbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/source/extended/accessibletabbarbase.cxx b/accessibility/source/extended/accessibletabbarbase.cxx
index 9a8b630c8daa..a512b8672140 100644
--- a/accessibility/source/extended/accessibletabbarbase.cxx
+++ b/accessibility/source/extended/accessibletabbarbase.cxx
@@ -45,7 +45,7 @@ IMPL_LINK( AccessibleTabBarBase, WindowEventListener, VclWindowEvent&, rEvent, v
OSL_ENSURE( pEventWindow, "AccessibleTabBarBase::WindowEventListener: no window!" );
if( ( rEvent.GetId() == VclEventId::TabbarPageRemoved ) &&
- ( (sal_uInt16)reinterpret_cast<sal_IntPtr>(rEvent.GetData()) == TabBar::PAGE_NOT_FOUND ) &&
+ ( static_cast<sal_uInt16>(reinterpret_cast<sal_IntPtr>(rEvent.GetData())) == TabBar::PAGE_NOT_FOUND ) &&
(dynamic_cast<AccessibleTabBarPageList *>(this) == nullptr))
{
return;