summaryrefslogtreecommitdiffstats
path: root/basic/source/classes/eventatt.cxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-10 14:40:57 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-10 14:40:57 +0100
commit642cfe8ac206af4fe82bc695d38b5c7f0edf7dc7 (patch)
treeb5b4029cf2c401a9907f3be73e88c1d0d617bd6d /basic/source/classes/eventatt.cxx
parentremovetooltypes: #i112600# adjust fpicker (diff)
downloadcore-642cfe8ac206af4fe82bc695d38b5c7f0edf7dc7.tar.gz
core-642cfe8ac206af4fe82bc695d38b5c7f0edf7dc7.zip
removetooltypes01: #i112600# adjust basic and scaddins
Diffstat (limited to 'basic/source/classes/eventatt.cxx')
-rw-r--r--basic/source/classes/eventatt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/classes/eventatt.cxx b/basic/source/classes/eventatt.cxx
index 6c77259ccc7d..8d9f30e4982f 100644
--- a/basic/source/classes/eventatt.cxx
+++ b/basic/source/classes/eventatt.cxx
@@ -298,7 +298,7 @@ void BasicScriptListener_Impl::firing_impl( const ScriptEvent& aScriptEvent, Any
if( aName == aLibName )
{
// Search only in the lib, not automatically in application basic
- USHORT nFlags = pBasic->GetFlags();
+ sal_uInt16 nFlags = pBasic->GetFlags();
pBasic->ResetFlag( SBX_GBLSEARCH );
pMethVar = pBasic->Find( aMacro, SbxCLASS_DONTCARE );
pBasic->SetFlags( nFlags );
@@ -328,7 +328,7 @@ void BasicScriptListener_Impl::firing_impl( const ScriptEvent& aScriptEvent, Any
{
SbxVariableRef xVar = new SbxVariable( SbxVARIANT );
unoToSbxValue( (SbxVariable*)xVar, pArgs[i] );
- xArray->Put( xVar, sal::static_int_cast< USHORT >(i+1) );
+ xArray->Put( xVar, sal::static_int_cast< sal_uInt16 >(i+1) );
}
}
@@ -443,7 +443,7 @@ static ::rtl::OUString aDecorationPropName =
static ::rtl::OUString aTitlePropName =
::rtl::OUString::createFromAscii( "Title" );
-void RTL_Impl_CreateUnoDialog( StarBASIC* pBasic, SbxArray& rPar, BOOL bWrite )
+void RTL_Impl_CreateUnoDialog( StarBASIC* pBasic, SbxArray& rPar, sal_Bool bWrite )
{
static ::rtl::OUString aResourceResolverPropName = ::rtl::OUString::createFromAscii( "ResourceResolver" );