Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hello,

Cppcheck reported these:
[drawinglayer/source/primitive2d/sceneprimitive2d.cxx:196]: (style) Variable
'fViewSizeX' is assigned a value that is never used.
[drawinglayer/source/primitive2d/sceneprimitive2d.cxx:197]: (style) Variable
'fViewSizeY' is assigned a value that is never used.

    193                     if(fReducedVisualisationFactor != 1.0)
    194                     {
    195                         fReduceFactor *=
fReducedVisualisationFactor;
    196                         fViewSizeX *= fReducedVisualisationFactor;
    197                         fViewSizeY *= fReducedVisualisationFactor;
    198                     }
see
http://opengrok.libreoffice.org/xref/core/drawinglayer/source/primitive2d/sceneprimitive2d.cxx#193

Indeed, fViewSizeX and fViewSizeY. this time I don't think they should be
removed, I rather think something is lacking.

Any idea?

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/Cppcheck-reports-an-2-assignments-which-isn-t-used-in-drawinglayer-module-tp4026316.html
Sent from the Dev mailing list archive at Nabble.com.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.