summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/basidesh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/basidesh.cxx')
-rw-r--r--basctl/source/basicide/basidesh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index 88d9f280645a..8c5518d17160 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -747,7 +747,7 @@ void Shell::RemoveWindow( BaseWindow* pWindow_, bool bDestroy, bool bAllowChange
DBG_ASSERT( pWindow_, "Cannot delete NULL-Pointer!" );
sal_uLong nKey = GetWindowId( pWindow_ );
- pTabBar->RemovePage( (sal_uInt16)nKey );
+ pTabBar->RemovePage( static_cast<sal_uInt16>(nKey) );
aWindowTable.erase( nKey );
if ( pWindow_ == pCurWin )
{