cppcheck: Same expression in chartexport.cxx (oox module)

julien2412 serval2412 at yahoo.fr
Fri Dec 13 14:59:29 PST 2013


Hello,

Cppcheck reported this:
[oox/source/export/chartexport.cxx:1822] ->
[oox/source/export/chartexport.cxx:1822]: (style) Same expression on both
sides of '=='.

Indeed we have:
   1822         if (aValues[i] == aValues[i])
   1823             pFS->write( aValues[i] );
 see
http://opengrok.libreoffice.org/xref/core/oox/source/export/chartexport.cxx#1790
(at this moment)

I thought first about == overloading but didn't find it (or missed it)

Any idea?

Julien



--
View this message in context: http://nabble.documentfoundation.org/cppcheck-Same-expression-in-chartexport-cxx-oox-module-tp4088146.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list