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

            Bug ID: 167372
           Summary: A paragraph style is lost in a specific document with
                    change tracking
           Product: LibreOffice
           Version: 7.4.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 201645
  --> https://bugs.documentfoundation.org/attachment.cgi?id=201645&action=edit
Attachment from i#75463

Open the attachment (from i#75463). It has tracked changes.

Since commit 81273c65dd9cec5acd9464b9041f452a5481e10e the paragraph "Åbne
filer" there is shown using "OOoTextBody" style. Before that, it used to have
"OOoHeading1" style.

Initially I thought, that it was a proper change: it looked as if deletion of
the previous paragraph somehow changed the remaining paragraph's style.

But the document's XML has this:

   <text:tracked-changes text:track-changes="false">
    <text:changed-region text:id="ct177150096">
     <text:deletion>
      <text:p text:style-name="OOoToCHead">Indhold</text:p>
     </text:deletion>
    </text:changed-region>
    <text:changed-region text:id="ct177153800">
     <text:deletion>
      <text:p text:style-name="OOoToCHead"/>
      <text:p text:style-name="OOoTextBody"/>
     </text:deletion>
    </text:changed-region>
   </text:tracked-changes>
   ...
    <text:h text:style-name="OOoHeading1" text:outline-level="1">
     <text:change text:change-id="ct177150096"/>
     <text:change text:change-id="ct177153800"/>Åbne filer</text:h>

So the "Åbne filer" paragraph is inside <text:h text:style-name="OOoHeading1">;
and the removal of all other paragraph styles in ct177153800 should restore the
OOoHeading1 style, it seems?

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

Reply via email to