diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-11 16:00:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-11 16:00:46 +0200 |
commit | d9baa2b06e7349fce55cb706563c3017f33c01e0 (patch) | |
tree | bd16d00668b6b5e2a5d3b7dec4f6eadb9a469a68 /basic/source/sbx/sbxobj.cxx | |
parent | fffc2b704f2a03ad57c8521f4d00785aead91678 (diff) |
-Werror,-Wundefined-bool-conversion
Change-Id: I81edff750eab6bbeef75fbd1a5fcca0f01379daa
Diffstat (limited to 'basic/source/sbx/sbxobj.cxx')
-rw-r--r-- | basic/source/sbx/sbxobj.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx index 97dd202d67a2..a9b69ec59718 100644 --- a/basic/source/sbx/sbxobj.cxx +++ b/basic/source/sbx/sbxobj.cxx @@ -254,7 +254,7 @@ SbxVariable* SbxObject::Find( const OUString& rName, SbxClassType t ) case SbxCLASS_PROPERTY: pArray = pProps; break; case SbxCLASS_METHOD: pArray = pMethods; break; case SbxCLASS_OBJECT: pArray = pObjs; break; - default: DBG_ASSERT( !this, "Invalid SBX-Class" ); break; + default: DBG_ASSERT( false, "Invalid SBX-Class" ); break; } if( pArray ) { @@ -350,7 +350,7 @@ SbxArray* SbxObject::FindVar( SbxVariable* pVar, sal_uInt16& nArrayIdx ) case SbxCLASS_PROPERTY: pArray = pProps; break; case SbxCLASS_METHOD: pArray = pMethods; break; case SbxCLASS_OBJECT: pArray = pObjs; break; - default: DBG_ASSERT( !this, "Invalid SBX-Class" ); break; + default: DBG_ASSERT( false, "Invalid SBX-Class" ); break; } if( pArray ) { @@ -386,7 +386,7 @@ SbxVariable* SbxObject::Make( const OUString& rName, SbxClassType ct, SbxDataTyp case SbxCLASS_PROPERTY: pArray = pProps; break; case SbxCLASS_METHOD: pArray = pMethods; break; case SbxCLASS_OBJECT: pArray = pObjs; break; - default: DBG_ASSERT( !this, "Invalid SBX-Class" ); break; + default: DBG_ASSERT( false, "Invalid SBX-Class" ); break; } if( !pArray ) { @@ -524,7 +524,7 @@ void SbxObject::QuickInsert( SbxVariable* pVar ) case SbxCLASS_PROPERTY: pArray = pProps; break; case SbxCLASS_METHOD: pArray = pMethods; break; case SbxCLASS_OBJECT: pArray = pObjs; break; - default: DBG_ASSERT( !this, "Invalid SBX-Class" ); break; + default: DBG_ASSERT( false, "Invalid SBX-Class" ); break; } } if( pArray ) |