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


Hello,

On master, cppcheck reported this :
[basctl/source/basicide/bastypes.cxx:269] ->
[basctl/source/basicide/bastypes.cxx:269]: (style) Same expression on both
sides of '|'.
Here are the lines :
    266 BasicDockingWindow::BasicDockingWindow( Window* pParent, const
ResId& rResId ) :
    267     DockingWindow( pParent, rResId )
    268 {
    269     SetStyle( WB_BORDER | WB_3DLOOK | WB_DOCKABLE | WB_MOVEABLE |
    270                             WB_SIZEABLE | WB_ROLLABLE |
    271                             WB_DOCKABLE | WB_CLIPCHILDREN );
    272 }

It's quite recent, 1 month ago with commit
0e8eb19a53338c83dab7fe19e2f23bcaecd52077.
I've got not idea, if we can just remove WB_DOCKABLE or if it should be
replaced by another constant.

Any advice ?

Julien.

--
View this message in context: 
http://nabble.documentfoundation.org/Cppcheck-reports-Same-expression-on-both-sides-of-on-basctl-module-tp3893608p3893608.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.