summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2010-11-01 11:07:18 +0100
committerJuergen Schmidt <jsc@openoffice.org>2010-11-01 11:07:18 +0100
commit998b68d0b3a5f7d94decf7ea2aa9473c04178902 (patch)
treecf2c159c5c6ab1b5d19d599dc4756b63ec89a79a
parentba640a3477213a4d2f179f188fe80029969ef1bb (diff)
jsc331: i115237: add missing not operator
-rw-r--r--basic/source/sbx/sbxbool.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxbool.cxx b/basic/source/sbx/sbxbool.cxx
index 3216e401b707..c3ed0d09b134 100644
--- a/basic/source/sbx/sbxbool.cxx
+++ b/basic/source/sbx/sbxbool.cxx
@@ -91,7 +91,7 @@ enum SbxBOOL ImpGetBool( const SbxValues* p )
{
if( p->pOUString->equalsIgnoreAsciiCase( SbxRes( STRING_TRUE ) ) )
nRes = SbxTRUE;
- else if( p->pOUString->equalsIgnoreAsciiCase( SbxRes( STRING_FALSE ) ) )
+ else if( !p->pOUString->equalsIgnoreAsciiCase( SbxRes( STRING_FALSE ) ) )
{
// Jetzt kann es noch in eine Zahl konvertierbar sein
BOOL bError = TRUE;