https://bugs.documentfoundation.org/show_bug.cgi?id=145627

            Bug ID: 145627
           Summary: Cross reference error if merging two numbered
                    paragraph
           Product: LibreOffice
           Version: 7.2.2.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
If two numbered paragraphs are merged by deleting the second one (e. g. Level 2
merged to level 1 by deleting numbering of level 2), cross reference which
point to the first of them (level 1) brakes.

Steps to Reproduce:
1. Set 2 numbered paragraphs as Line 1 - set numbering level 1 (e. g. 1.) and
line 2 - set numbering level 2 (e.g. a.)
2. Create a line 3 with a cross reference to the the line 1
3. Delete numbering in line 2 and merge the text with line 1 (using backspace
or delete key)

Actual Results:
In line 3 you get en Cross reference Error

Expected Results:
Cross reference to line 1 should be kept


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
I am not sure if this is a expected behavior,  but I think it is a bug. As i
often work with contracts, sometimes you decide to shorten the text or delete
one of two sublevels - in this case you want merge the sublevel text which is
remaining to the first level text, e. g.:

A. original tex
1. If the buyer:
   a. pay the price,
   b. take over the item
...
3. In case of point 1. ....

B. New text
1. If the  If the buyer pay the price and take over the item...
...
3. In case of point 1. .... YOU GOT HERE AN ERROR OF CROSS REFERENCE without a
reason, as the point 1 is still there.

I attach a test file, where you can try to delete line

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to