diff options
Diffstat (limited to 'framework/source/tabwin/tabwindow.cxx')
-rw-r--r-- | framework/source/tabwin/tabwindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/tabwin/tabwindow.cxx b/framework/source/tabwin/tabwindow.cxx index d249ec2fb45b..56007e6ed91e 100644 --- a/framework/source/tabwin/tabwindow.cxx +++ b/framework/source/tabwin/tabwindow.cxx @@ -600,7 +600,7 @@ void SAL_CALL TabWindow::removeTab( ::sal_Int32 ID ) implts_SendNotification( NOTIFY_REMOVED, ID ); // activate new tab if old tab was active! - nPos = pTabControl->GetPagePos( sal_uInt16( nCurTabId )); + nPos = pTabControl->GetPagePos( nCurTabId ); if ( nPos != TAB_PAGE_NOTFOUND && nCurTabId != ID ) activateTab( nCurTabId ); } |