Bug 61154

Summary: EDITING: Insert ->Indexes and Tables->Table of Content displays deleted text
Product: LibreOffice Reporter: Nitin <bhutaninitin>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: 3.5.7.2 release   
Hardware: Other   
OS: Linux (All)   
Whiteboard: BSA
i915 platform: i915 features:
Attachments: An example of how the ToC wrongly displays deleted contents

Description Nitin 2013-02-20 05:46:42 UTC
Created attachment 75154 [details]
An example of how the ToC wrongly displays deleted contents

With Edit->Changes->On, if I delete text from a heading, LibreOffice produces a ToC that contains that deleted text. I have attached an example. 
Operating System: Debian
Version: 3.5.7.2 release
Comment 1 Brenda Granados 2013-02-26 17:28:28 UTC
I have confirmed this issue using LibreOffice 4.0.1.0+ on Ubuntu 12.04. The steps I followed to reproduce:

1. Go to Edit -> Changes ... enable Show.
2. Edit some of the text in the heading. Changes are visible.
3. Currently, the ToC shows none of the changes, and you can click on the old ToC listing and go to the recently changed entry in the document.
4. Right click ToC, and select Update...

Result: ToC shows the heading with even text that is deleted. This does not occur if Show is not enabled under Edit -> Changes. Sounds like it's just copying the text from the line as visible...

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.