diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 13:24:55 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 13:24:55 +0000 |
commit | c72454c446d6b2c957410fd9a0cc6c287f9bc412 (patch) | |
tree | 9a3542eb71c29b71b446df4aefc7653074a5d30c /basic/source/classes/eventatt.cxx | |
parent | 2aa2048b7262c3e37d35c39936b3cf13063e7ed9 (diff) |
INTEGRATION: CWS sb59 (1.25.22); FILE MERGED
2006/08/11 15:04:26 sb 1.25.22.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'basic/source/classes/eventatt.cxx')
-rw-r--r-- | basic/source/classes/eventatt.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/classes/eventatt.cxx b/basic/source/classes/eventatt.cxx index 2343534ea0de..84662aef89f9 100644 --- a/basic/source/classes/eventatt.cxx +++ b/basic/source/classes/eventatt.cxx @@ -4,9 +4,9 @@ * * $RCSfile: eventatt.cxx,v $ * - * $Revision: 1.26 $ + * $Revision: 1.27 $ * - * last change: $Author: obo $ $Date: 2006-09-17 09:59:25 $ + * last change: $Author: obo $ $Date: 2006-10-12 14:24:55 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -449,7 +449,7 @@ void BasicScriptListener_Impl::firing_impl( const ScriptEvent& aScriptEvent, Any { SbxVariableRef xVar = new SbxVariable( SbxVARIANT ); unoToSbxValue( (SbxVariable*)xVar, pArgs[i] ); - xArray->Put( xVar, i+1 ); + xArray->Put( xVar, sal::static_int_cast< USHORT >(i+1) ); } } |