Re: [Libreoffice] Duplicate expression in sd/source/ui/view/outlview.cxx

2012-01-27 Thread Ivan Timofeev
Hi Julien, 28.01.2012 11:12, julien2412 пишет: So either the duplicated part (obviously "mpOutliner != NULL") could be simply removed or perhaps the author thought about this : mpOutlineViewShell != NULL mpOutlineViewShell is initialized and dereferenced in the ctor, and keeps its value al

[Libreoffice] Duplicate expression in sd/source/ui/view/outlview.cxx

2012-01-27 Thread julien2412
Hello, Cppchecks reports this : core/sd/source/ui/view/outlview.cxx 1623duplicateExpression style Same expression on both sides of '&&'. Here are the lines : 1622 case tools::EventMultiplexerEvent::EID_PAGE_ORDER: 1623 if (mpOutliner != NULL && mpDoc!=N