summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2010-09-16 18:04:13 +0100
committerNoel Power <noel.power@novell.com>2010-09-16 18:07:22 +0100
commit39ce8a9906652dd9d2ef4ec1cc14bcb6d11cadd3 (patch)
tree1d238e2fc212c07b5ce51e06889baa37dec05f39
parentf856adf29448af0ba6ec20df4fa907e321afb94b (diff)
fix bool string compare, fixes problem in testtool ( has wider impact too )
-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;