diff options
author | Kurt Zenker <kz@openoffice.org> | 2009-01-29 10:02:54 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2009-01-29 10:02:54 +0000 |
commit | 660fc34c7c7bd5a3a485a8db2a34d7b216ed5ecd (patch) | |
tree | f0a1af7e0bf8b12df07e2298381d07f31cf25626 /scaddins | |
parent | 988ade1494c6460660a029e2e45db91cfccbe0a9 (diff) |
CWS-TOOLING: integrate CWS cmcfixes52
2009-01-05 10:49:04 +0100 cmc r265860 : #i97763# remove low-hanging warnings
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysis.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx index 5f9e60d9b428..e9cd14c4938d 100644 --- a/scaddins/source/analysis/analysis.cxx +++ b/scaddins/source/analysis/analysis.cxx @@ -819,7 +819,7 @@ double SAL_CALL AnalysisAddIn::getSeriessum( double fX, double fN, double fM, co double SAL_CALL AnalysisAddIn::getQuotient( double fNum, double fDenom ) THROWDEF_RTE_IAE { double fRet; - if( fNum < 0 != fDenom < 0) + if( (fNum < 0) != (fDenom < 0) ) fRet = ::rtl::math::approxCeil( fNum / fDenom ); else fRet = ::rtl::math::approxFloor( fNum / fDenom ); |