cppcheck: Logical conjunction always evaluates to false
I don't know how to check it's ok, I just took example above It seems there was a wrong mix between header and footer test Change-Id: Ia5bb838e92306f3bb160069a7c62707e365e8ab2
This commit is contained in:
@@ -1187,8 +1187,8 @@ void HwpReader::makeMasterStyles()
|
||||
padd(ascii("text:style-name"), sXML_CDATA, ascii("Standard"));
|
||||
rstartEl(ascii("text:p"), rList);
|
||||
pList->clear();
|
||||
if( pPage->pagenumber && pPage->pagenumber->where < 4
|
||||
&& pPage->pagenumber->where == 7 )
|
||||
if( pPage->pagenumber && (pPage->pagenumber->where < 4 ||
|
||||
pPage->pagenumber->where == 7 ) )
|
||||
{
|
||||
d->pPn = pPage->pagenumber;
|
||||
makeShowPageNum();
|
||||
|
Reference in New Issue
Block a user