summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/basides3.cxx
diff options
context:
space:
mode:
authorShubham Verma <lifemeansmore008@gmail.com>2018-02-23 00:21:07 +0530
committerMichael Stahl <mstahl@redhat.com>2018-02-27 17:51:42 +0100
commit0b49701fa5c22abba6b9b4a60ddd2720973dd858 (patch)
treefe3feb78388d8e6bf05f3a3f6378d7361595b54b /basctl/source/basicide/basides3.cxx
parent49c3bab770ea579d96aa3ea79e1d4ff304f42334 (diff)
tdf#114441 sal_uLong to better integer types
Change-Id: I55b45821cf67a99f97ba067a3d4923d76c19696e Reviewed-on: https://gerrit.libreoffice.org/50204 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'basctl/source/basicide/basides3.cxx')
-rw-r--r--basctl/source/basicide/basides3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/basides3.cxx b/basctl/source/basicide/basides3.cxx
index ea892bfe873c..c12fb56c2f2c 100644
--- a/basctl/source/basicide/basides3.cxx
+++ b/basctl/source/basicide/basides3.cxx
@@ -39,7 +39,7 @@ VclPtr<DialogWindow> Shell::CreateDlgWin( const ScriptDocument& rDocument, const
{
bCreatingWindow = true;
- sal_uLong nKey = 0;
+ sal_uInt16 nKey = 0;
VclPtr<DialogWindow> pWin;
OUString aLibName( rLibName );
OUString aDlgName( rDlgName );
@@ -97,7 +97,7 @@ VclPtr<DialogWindow> Shell::CreateDlgWin( const ScriptDocument& rDocument, const
if( pWin )
{
pWin->GrabScrollBars( aHScrollBar.get(), aVScrollBar.get() );
- pTabBar->InsertPage( static_cast<sal_uInt16>(nKey), aDlgName );
+ pTabBar->InsertPage( nKey, aDlgName );
pTabBar->Sort();
if ( !pCurWin )
SetCurWindow( pWin, false, false );