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



Reply via email to