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


Hello,

Cppcheck has detected a duplicateExpression in
vcl/ios/source/window/salframe.cxx, line 470
I checked on salframe.cxx of aqua, there's the same duplicate (line 631)
Here is the line :
 if( pState->mnMask & (SAL_FRAMESTATE_MASK_X | SAL_FRAMESTATE_MASK_X) )

I compared with gtk part and think the line should just be like this but
it's just a guess :
 if( pState->mnMask & (SAL_FRAMESTATE_MASK_X | SAL_FRAMESTATE_MASK_Y) )
 
I don't know why for the moment but cppcheck hasn't detected the duplicate
on aqua part. I just noticed that if I remove all the code
(variable/methods) until the method SetTitle included, duplicate expression
can be detected.

Julien.


--
View this message in context: 
http://nabble.documentfoundation.org/cppcheck-duplicateExpression-tp3321065p3321065.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.