summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2012-07-27 17:31:08 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-27 17:50:22 +0200
commit6a94d7b5c924e3a8ef3ff0f68f54061c035a3cb0 (patch)
treed042709f848a900386493db45c687679e79eaa0c /basic
parent89f08dce89adfddd3fb8e00b7a7a9c5da2a4943e (diff)
basic, cui, extensions, filter, vcl: fix some warnings
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/runtime.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index f86e01f9c25f..27517b5f0dd7 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -702,17 +702,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;