Apache OpenOffice (AOO) Bugzilla – Issue 100466
Recording changes (Show=off) deleting a char in lines below the firts remove style from the first line
Last modified: 2013-08-07 14:44:00 UTC
Working on a document (attached) with Record Changes=ON and Show Changes=OFF I encountered a strange behaviour: every deletion done in lines below the first remove the style from the first line. This problem was not present in OOO 2.4.1.
Created attachment 61102 [details] this is the document showing the problem described in the issue
@OD: very strange... Can't explain why the heading style gets removed ("un-applied") when deleting something in the text body.
First investigation reveals that the described defect also occurs when changing Show Changes to ON and then switching back to Show Changes = OFF. A silent switch from Show Changes=OFF to ON and back to OFF is performed when another deletion change tracking is recorded. I reproduced the described defect from scratch: - new text document - insert 5 paragraphs, each with some text - switch on Record Changes - switch off Show Changes - make selection from start of the 3rd paragraph to end of 5th paragraph - delete the selection - place cursor in empty 3rd paragraph - hit Enter key - apply paragraph style "Heading 1" to newly inserted paragraph - type text "Heading" - hit Enter key - type text "Text Body" --> 4th paragraph is applying paragraph style "Heading 1" - switch on Show Changes and switch off Show Changes OR delete a character from the 5th paragraph --> 4th paragraph is now applying paragraph style "Default" The defect has been introduced in OOo 3.0
fixed in cws sw32bf02 - changed files: /sw/inc/IDocumentContentOperations.hxx, /sw/inc/doc.hxx, /sw/source/core/doc/docedt.cxx, /sw/source/core/doc/docredln.cxx, rev. 275172
OD->ES: Checked in internal installation set of cws sw32bf02 - please verify.
reassigned to MRU for verification.
Verified fix in CWS sw32bf02.
Checked fix in DEV300m60.