Subject: Is this a bug (fl_BlockLayout.cpp) ?
From: Matti Picus (matti@picus.org)
Date: Wed Oct 03 2001 - 03:08:42 CDT
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());
}
-------------------------------------------
Note that removeItem() will always be called!
Matti
This archive was generated by hypermail 2b25 : Wed Oct 03 2001 - 05:04:30 CDT