summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2003-09-23 09:03:54 +0000
committerThomas Benisch <tbe@openoffice.org>2003-09-23 09:03:54 +0000
commit287b417897edfa138e3a7629bdf75d53cd23fd26 (patch)
treea2a88addb304da5b35fbbac3ef8b9e35a5122d04 /scripting
parent523b47bc025a024fb4f1216ae32c98c84b62e009 (diff)
#i18767# integration of Starbasic runtime to ScriptingFramework provider
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/basprov/basscript.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripting/source/basprov/basscript.cxx b/scripting/source/basprov/basscript.cxx
index 6e758bbb7f4b..8c1a17eddf3e 100644
--- a/scripting/source/basprov/basscript.cxx
+++ b/scripting/source/basprov/basscript.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: basscript.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: tbe $ $Date: 2003-09-16 15:23:11 $
+ * last change: $Author: tbe $ $Date: 2003-09-23 10:03:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -128,7 +128,7 @@ namespace basprov
if ( m_pMethod )
{
// check if compiled
- SbModule* pModule = (SbModule*)m_pMethod->GetParent();
+ SbModule* pModule = static_cast< SbModule* >( m_pMethod->GetParent() );
if ( pModule && !pModule->IsCompiled() )
pModule->Compile();
@@ -164,8 +164,8 @@ namespace basprov
for ( sal_Int32 i = 0; i < nParamsCount; ++i )
{
SbxVariableRef xSbxVar = new SbxVariable( SbxVARIANT );
- unoToSbxValue( (SbxVariable*)xSbxVar, pParams[i] );
- xSbxParams->Put( xSbxVar, (USHORT)i + 1 );
+ unoToSbxValue( static_cast< SbxVariable* >( xSbxVar ), pParams[i] );
+ xSbxParams->Put( xSbxVar, static_cast< USHORT >( i ) + 1 );
}
}
if ( xSbxParams.Is() )