Martin Vermeer <[EMAIL PROTECTED]> writes:

| 3) Oops... this patch lacks
| 
| ///
| typedef std::vector<lyx::size_type> RowSignature;
| 
| which I put in RowList_fwd.h... correct?

Or in paragraph ... does not seem to make much of a difference as long
as rowSignature itself is there.

| +             if (rsit == par.rowSignature().end()) {
| +                     par.rowSignature().push_back(0);
| +                     // Disgusting C++. Pushing something onto a
| +                     // vector invalidates iterators on it. Restore:
| +                     rsit = par.rowSignature().end();
| +                     --rsit;

Well... this is what you get for using a vector... but in this case we
can actually do a bit better:

        rsit = par.rowSignature().insert(0, par.rowSignature().end());

(or perhaps the arguentents in oposite order... I cannot quite
remember)

-- 
        Lgb

Reply via email to