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
commit33f4cc0f7d0807937a51b0475db5466216d65473 (patch)
tree3740c9a1d9272b13dfd6bd20e405454dd1922eef
parent84d50758d4b9ebf25216259eb780757639f708ac (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 7551a586b3..8abfbeabab 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;