diff options
Diffstat (limited to 'basctl/source/basicide/basides2.cxx')
-rw-r--r-- | basctl/source/basicide/basides2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx index 1715afb81f98..675ff8d5c093 100644 --- a/basctl/source/basicide/basides2.cxx +++ b/basctl/source/basicide/basides2.cxx @@ -134,7 +134,7 @@ VclPtr<ModulWindow> Shell::CreateBasWin( const ScriptDocument& rDocument, const { bCreatingWindow = true; - sal_uLong nKey = 0; + sal_uInt16 nKey = 0; VclPtr<ModulWindow> pWin; OUString aLibName( rLibName ); @@ -192,7 +192,7 @@ VclPtr<ModulWindow> Shell::CreateBasWin( const ScriptDocument& rDocument, const aModName += " (" + sObjName + ")"; } } - pTabBar->InsertPage( static_cast<sal_uInt16>(nKey), aModName ); + pTabBar->InsertPage( nKey, aModName ); pTabBar->Sort(); if(pWin) { |