Tommaso Cucinotta <tomm...@lyx.org> writes:

| Il 26/05/2011 19:46, Richard Heck ha scritto:
>> On 05/26/2011 01:08 PM, tomm...@lyx.org wrote:
>>> Author: tommaso
>>> Date: Thu May 26 19:08:48 2011
>>> New Revision: 38846
>>> URL: http://www.lyx.org/trac/changeset/38846
>>>
>>> -           ParIterator it = buffer.par_iterator_begin();
>>> -           ParIterator end = buffer.par_iterator_end();
>>>             OutputParams runparams(&buffer.params().encoding());
>>> -           odocstringstream os;
| [...]
>>> -           for (; it != end; ++it) {
>>> +           for (pos_type pit = pos_type(0); pit<  
>>> (pos_type)buffer.paragraphs().size(); ++pit) {
>> This change doesn't look necessary for the rest. Using the ParIterator
>> is a bit more elegant....

formatting is off.. misplaced space after '<' should have been in front.

Reply via email to