diff options
author | Armin Le Grand <alg@apache.org> | 2012-07-18 11:11:48 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2012-07-18 11:11:48 +0000 |
commit | 0132f35e8be61d34156ef907adb7eb98902509da (patch) | |
tree | adf85281f6cf25827e7d27493522555118a3bcfb /basic/source/runtime/runtime.cxx | |
parent | ba86cf07673ed3dde1b4d54242005a4a903d86c9 (diff) |
basic, cui, extensions, filter, vcl: fix some warnings
Patch by: Michael Stahl
Notes
Notes:
prefer: 6a94d7b5c924e3a8ef3ff0f68f54061c035a3cb0
Diffstat (limited to 'basic/source/runtime/runtime.cxx')
-rw-r--r-- | basic/source/runtime/runtime.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index f187ea54224b..f4ffc29d2830 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -731,17 +731,17 @@ sal_Bool SbiRuntime::Step() SbiOpcode eOp = (SbiOpcode ) ( *pCode++ ); sal_uInt32 nOp1, nOp2; - if( eOp <= SbOP0_END ) + if (eOp < SbOP0_END) { (this->*( aStep0[ eOp ] ) )(); } - else if( eOp >= SbOP1_START && eOp <= SbOP1_END ) + else if (eOp >= SbOP1_START && eOp < SbOP1_END) { nOp1 = *pCode++; nOp1 |= *pCode++ << 8; nOp1 |= *pCode++ << 16; nOp1 |= *pCode++ << 24; (this->*( aStep1[ eOp - SbOP1_START ] ) )( nOp1 ); } - else if( eOp >= SbOP2_START && eOp <= SbOP2_END ) + else if (eOp >= SbOP2_START && eOp < SbOP2_END) { nOp1 = *pCode++; nOp1 |= *pCode++ << 8; nOp1 |= *pCode++ << 16; nOp1 |= *pCode++ << 24; nOp2 = *pCode++; nOp2 |= *pCode++ << 8; nOp2 |= *pCode++ << 16; nOp2 |= *pCode++ << 24; |