diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-04 17:06:47 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-04 16:57:59 +0100 |
commit | 628e96ce1fce194b30a5c2912feb8b7ec0328db0 (patch) | |
tree | 7a901d6da7d0dea1da3ac55ebe96fc33fc904150 /sc | |
parent | 9d5365f7cacecf92f1f056dce7bb6bbaf9f0cc40 (diff) |
tdf#120703 PVS: V547 Expression is always true/false
Change-Id: I3432afca1ee9bf9e8adce1d55d58d57bf1a09cb4
Reviewed-on: https://gerrit.libreoffice.org/62847
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/lotus/lotform.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/filter/lotus/lotform.cxx b/sc/source/filter/lotus/lotform.cxx index f696c063e6d0..2c745ca9c398 100644 --- a/sc/source/filter/lotus/lotform.cxx +++ b/sc/source/filter/lotus/lotform.cxx @@ -219,8 +219,7 @@ void LotusToSc::DoFunc( DefTokenId eOc, sal_uInt8 nCnt, const sal_Char* pExtStri for( nLauf = nLast - 1 ; nLauf >= 0 ; nLauf-- ) { - if( nLauf != -1 ) // lists the parameter to be excluded - aPool << ocSep << eParam[ nLauf ]; + aPool << ocSep << eParam[nLauf]; } } } |