diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-09-05 13:15:15 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-09-05 13:42:02 +0000 |
commit | f0208db49d59f78c96a30b05e31a226dbde9b084 (patch) | |
tree | 05e37e96a27c48d66fa601c929b5d0f44986b848 /basic/source | |
parent | d417059dae303685de7aa0f4b1c192ffcf5304d5 (diff) |
cppcheck: fix some redundantCondition warnings
Change-Id: If53d33fb4d9ca9dc1babb9043bd07c5d29fe74c2
Reviewed-on: https://gerrit.libreoffice.org/18353
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index 476e4c224345..2103856169b3 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -956,7 +956,7 @@ bool SbxValue::Compute( SbxOperator eOp, const SbxValue& rOp ) { if( rOp.GetType() == SbxEMPTY ) { - if ( !bVBAInterop || ( bVBAInterop && ( eOp != SbxNOT ) ) ) + if ( !bVBAInterop || ( eOp != SbxNOT ) ) goto Lbl_OpIsEmpty; } if( Get( aL ) ) switch( eOp ) @@ -1185,7 +1185,7 @@ Lbl_OpIsDouble: { if( rOp.GetType() == SbxEMPTY ) { - if ( !bVBAInterop || ( bVBAInterop && ( eOp != SbxNEG ) ) ) + if ( !bVBAInterop || ( eOp != SbxNEG ) ) goto Lbl_OpIsEmpty; } if( Get( aL ) ) |