Subject: Re: Is this a bug (fl_BlockLayout.cpp) ?
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Wed Oct 03 2001 - 08:04:42 CDT
On Wed, 3 Oct 2001, Matti Picus wrote:
> My compiler gives a warning in the code fragment below:
>
> --------------------------------------------
> ..\abi\src\text\fmt\xp\fl_BlockLayout.cpp(690) : warning C4390: ';' : empty
> controlled statement found; is this the intent?
> --------------------------------------------
>
> Here is the problematic code, starting at line 659:
>
> -------------------------------------------
> if(m_pAutoNum->isItem(getStruxDocHandle()));
> {
> m_pAutoNum->removeItem(getStruxDocHandle());
> }
> -------------------------------------------
>
Feel free to remove the ";" after the if().
The way to check if this code is OK is to open a second window on a
document then start a multi-level list.
Cheers
Martin
This archive was generated by hypermail 2b25 : Wed Oct 03 2001 - 08:04:52 CDT