https://bugs.freedesktop.org/show_bug.cgi?id=49819

--- Comment #10 from Michael Meeks <[email protected]> 2012-09-21 
17:29:28 UTC ---
Created attachment 67516
  --> https://bugs.freedesktop.org/attachment.cgi?id=67516
debugging patch

Attached patch allows the document to load by first detecting the zip exception
and returning the right error - so we can get repair mode turned on.

However - I then force repair-mode on - since there seems to be no way to force
it down through the domain-mapper & associated logic.

We get the flag set right coming into:

Breakpoint 1, WriterFilter::filter (this=0xaca5fa00, aDescriptor=uno::Sequence
of length 13 = {...})
    at
/ssd/opt/libreoffice/master/writerfilter/source/filter/ImportFilter.cxx:50
...
{Name = "RepairPackage", Handle = 0, Value = uno::Any 1 '\001', State = 
    com::sun::star::beans::PropertyState_DIRECT_VALUE}

But that needs pushing down.

End goal: throw up a dialog, offering to repair, and import the file anyway. I
can at least see the contents now with that hard-coded.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to