diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-21 19:46:36 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-21 20:57:00 +0100 |
commit | 45ad6029e1422c659e627bb30ecda50ccb61060c (patch) | |
tree | 540f4ef55f1a3870c58cbbf845b9117abe6558c6 /sc | |
parent | WaE: duplicateBranch (diff) | |
download | core-45ad6029e1422c659e627bb30ecda50ccb61060c.tar.gz core-45ad6029e1422c659e627bb30ecda50ccb61060c.zip |
WaE: duplicateBranch and use sal_False
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/dptabres.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx index 5c4039abcf38..7d984402939b 100644 --- a/sc/source/core/data/dptabres.cxx +++ b/sc/source/core/data/dptabres.cxx @@ -174,12 +174,7 @@ static sal_Bool lcl_IsLess( const ScDPDataMember* pDataMember1, const ScDPDataMe sal_Bool bError1 = pAgg1 && pAgg1->HasError(); sal_Bool bError2 = pAgg2 && pAgg2->HasError(); if ( bError1 ) - { - if ( bError2 ) - return false; // equal - else - return false; // errors are always sorted at the end - } + return sal_False; // equal else if ( bError2 ) return sal_True; // errors are always sorted at the end else |