summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/basidesh.cxx
diff options
context:
space:
mode:
authorChristian Barth <Christian.Barth@zoho.com>2019-10-03 20:22:04 +0200
committerMichael Stahl <michael.stahl@cib.de>2019-10-09 16:25:24 +0200
commit261fa8cdf4626c9785e0ca4776e44eab4b9222e0 (patch)
treeca2389706b771e891a553a6b413ab5e567ed60ae /basctl/source/basicide/basidesh.cxx
parenta73cb32c7285343cbb30b4647e8e7e448eebbb02 (diff)
tdf#114441 changed some sal_uLong to better fitting types
Change-Id: I114a6b028eb59a1ae38c31bc20439a35643fe972 Reviewed-on: https://gerrit.libreoffice.org/80159 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'basctl/source/basicide/basidesh.cxx')
-rw-r--r--basctl/source/basicide/basidesh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index 01d5f4a1d199..6d9b75af2f8d 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -732,8 +732,8 @@ void Shell::RemoveWindow( BaseWindow* pWindow_, bool bDestroy, bool bAllowChange
VclPtr<BaseWindow> pWindowTmp( pWindow_ );
DBG_ASSERT( pWindow_, "Cannot delete NULL-Pointer!" );
- sal_uLong nKey = GetWindowId( pWindow_ );
- pTabBar->RemovePage( static_cast<sal_uInt16>(nKey) );
+ sal_uInt16 nKey = GetWindowId( pWindow_ );
+ pTabBar->RemovePage( nKey );
aWindowTable.erase( nKey );
if ( pWindow_ == pCurWin )
{