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


Hello,

Keeping on with cppcheck, I found this on vcl/source/window/builder.cxx
   1892             else if (sKey == "pack-type")
   1893             {
   1894                 VclPackType ePackType = (sValue[0] == 'e' ||
sValue[0] == 'e') ? VCL_PACK_END : VCL_PACK_START;
   1895                 pCurrent->set_pack_type(ePackType);
   1896             }

Should it be  (sValue[0] == 'e' || sValue[0] == 'E'), just sValue[0] == 'e'
or something else?

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/Question-about-vcl-source-window-builder-cxx-tp4024520.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.