summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxbool.cxx
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
commit91291b26d7d00bc16dba678ded366b5a7206b3d3 (patch)
treef5742823021204e6aedc49716e98b8de8b278a41 /basic/source/sbx/sbxbool.cxx
parente748d379d1907ca149ac0f0daf47a15f64f5c045 (diff)
fix bool string compare, fixes problem in testtool ( has wider impact too )
Diffstat (limited to 'basic/source/sbx/sbxbool.cxx')
-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;