Pavel Sanda <[EMAIL PROTECTED]> writes:

> finally i use this:
> while (findNextInset(cur, vector<InsetCode>(1, GRAPHICS_CODE), contents)){
>       //add some assert for cur.nextInset()->lyxCode() != GRAPHICS_CODE
>       InsetGraphics & ins = static_cast<InsetGraphics &>(*cur.nextInset());
>

Note that you do not need the vector<>() part, the specialization for
one code already exists.

JMarc

Reply via email to