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


Hello,

Cppcheck reported this :
[oox/source/vml/vmlformatting.cxx:251]: (warning) Redundant assignment of
"nModToken" in switch
Here are the lines :
    249             switch( AttributeConversion::decodeToken(
aColorIndex.copy( 0, nOpenParen ) ) )
    250             {
    251                 case XML_darken:    nModToken = XML_shade;
    252                 case XML_lighten:   nModToken = XML_tint;
    253             }


I pushed a fix on master c893a820c447c9014d35597a37c3220c261e35ae to just
add a break at the end of line 251.

could it be useful to push this on 3.5 branch this trivial fix ?

Julien. 

--
View this message in context: 
http://nabble.documentfoundation.org/REVIEW-3-5-Redundant-assignment-in-oox-tp3893277p3893277.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.