Issue 19549

Summary: file cleanup incomplete after deletion of embedded object
Product: Calc Reporter: mjneedles <matt>
Component: codeAssignee: frank
Status: CLOSED IRREPRODUCIBLE QA Contact: issues@sc <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1 RC4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
This doc actually contains only two objects, but the image contains 3 none

Description mjneedles 2003-09-14 03:09:36 UTC
I inserted an OLE Draw object in a sheet, saved the file, then reopened it and
deleted the OLE object, and inserted two graphics from files. In the saved sxc
file, there is still a folder and files related to the OLE object.  I deleted
them, fixed the manifest.xml file, re-zipped it and opened it with no errors. 
The file size difference is about 7k (100k and 93k).  [Draw documents don't take
up much space :)]
Comment 1 frank 2003-09-15 09:42:49 UTC
Hi MAtt,

I could not reproduce this behaviour. Please attach a document that
shows the problem.

Best regards

Frank
Comment 2 mjneedles 2003-09-17 06:35:33 UTC
Created attachment 9395 [details]
This doc actually contains only two objects, but the image contains 3
Comment 3 mjneedles 2003-09-17 06:40:24 UTC
Hope the attachment helps.  This is the document I created which
showed me the bug.  It contains an Object1 folder, which contains a
Draw object I originally had inserted in Sheet1, but later deleted.
When the file is opened, it does not show the Draw object. I extracted
the zipped file, removed the Object1 folder and fixed the
manifest.xml, rezipped it, and it opened correctly.
Comment 4 mjneedles 2003-09-17 07:03:35 UTC
This is very odd.  I cannot reproduce the behavior now.  I've tried
both with Calc and Writer docs,  but the result is correct every time.
 Maybe it was a fluke, but it did happen.  The attached file was not
hand-made!
Comment 5 frank 2003-09-17 09:30:29 UTC
Hi Christian,

assigned to you as discussed.

Frank
Comment 6 clippka 2003-09-17 09:46:29 UTC
Frank, if this is not reproducable I can't fix anything
Comment 7 frank 2003-09-17 11:06:38 UTC
Hi Matt,

as we, you and I, can not reproduce it and Christiioan too, I close
this one as worksforme. 

Feel free to reopen this Issue if you can reproduce this behaviour.

Thanks for your help

Frank
Comment 8 frank 2003-09-17 11:06:57 UTC
closed worksforme