[ooo-build-commit] .: basic/source

Noel Power noelp at kemper.freedesktop.org
Thu Sep 16 10:08:28 PDT 2010


 basic/source/sbx/sbxbool.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 39ce8a9906652dd9d2ef4ec1cc14bcb6d11cadd3
Author: Noel Power <noel.power at novell.com>
Date:   Thu Sep 16 18:04:13 2010 +0100

    fix bool string compare, fixes problem in testtool ( has wider impact too )

diff --git a/basic/source/sbx/sbxbool.cxx b/basic/source/sbx/sbxbool.cxx
index 7551a58..8abfbea 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;


More information about the ooo-build-commit mailing list