[Libreoffice] fix for fdo#33960 "cross reference to a list number, dot bug" makes sw/qa/complex/writer fail

Stephan Bergmann sbergman at redhat.com
Tue Sep 6 23:38:09 PDT 2011


On 09/06/2011 11:17 PM, Troy Rollo wrote:
> On Wednesday 07 September 2011, Stephan Bergmann wrote:
>>>
>>>               final String FldResult1 = "*i*";
>>>               final String FldResult2 = "+b+*i*";
>>>               final String FldResult3 = "-1-+b+*i*";
>>>
>>> -            final String FldResult4 = "1.";
>>> -            final String FldResult5 = " 1.";
>>> -            final String FldResult6 = "A. 1.";
>>> +            final String FldResult4 = "1";
>>> +            final String FldResult5 = " 1";
>>> +            final String FldResult6 = "A 1";
>
> The last one should be "A.1" rather than "A 1". The second last should be "1"
> rather than " 1". The ule implemented was actually somewhat more complex than
> the simple rule described in the bug report.

Troy, will you come up with a fix that brings 
sw/source/core/doc/number.cxx and 
sw/qa/complex/writer/CheckCrossReferences.java in sync again?

-Stephan


More information about the LibreOffice mailing list