diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-05-30 20:54:37 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-05-30 21:08:11 +0200 |
commit | e519306d498208484b72d935a3923af4a9adbbcb (patch) | |
tree | 98f469c0402641371705014d5dc701823f97cc73 /filter | |
parent | 834eed7992c6b549bbd06fbbe6473bafc777c8e1 (diff) |
Some cppcheck cleaning
More information on this thread:
http://nabble.documentfoundation.org/Advice-needed-about-some-cppcheck-reports-td3986408.html
Change-Id: Ib70532ad72e8418e1036bd52c07dc6452508cd12
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/icgm/cgm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/graphicfilter/icgm/cgm.cxx b/filter/source/graphicfilter/icgm/cgm.cxx index 8023fa72a963..3dd2ccceebed 100644 --- a/filter/source/graphicfilter/icgm/cgm.cxx +++ b/filter/source/graphicfilter/icgm/cgm.cxx @@ -266,7 +266,7 @@ double CGM::ImplGetFloat( RealPrecision eRealPrecision, sal_uInt32 nRealSize ) nRetValue += (double)nVal; if ( pLong[ nSwitch ] < 0 ) { - nRetValue -= nRetValue; + nRetValue = -nRetValue; } nRetValue /= 65536; } |