summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/basidesh.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:29:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:29:48 +0100
commite662242ec057ef5f922507866a88819e984fd131 (patch)
treef2c65bdb822a7da6eb1675c684825f69fbbefeca /basctl/source/basicide/basidesh.cxx
parenta82b177f981f14582d88e819ce8c167f9db0c213 (diff)
More loplugin:cstylecast: basctl
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I3bddf4b08e064dead05eae87619db2232744d7f8
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 )
{