[Libreoffice-bugs] [Bug 61398] FILEOPEN: can't get rid of macro warning

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jan 12 18:48:42 UTC 2019


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

--- Comment #14 from Richard Parkins <aleph0hpela-bugz at yahoo.co.uk> ---
(In reply to Justin L from comment #11)
> (In reply to Richard Parkins from comment #8)
> > Minimal example to provoke bug
> The code that identifies the "presence" of the macros is in
> sfx2/source/doc/docmacromode.cxx.
> 
> So, ODS files are just zip files.  I believe that the presence of Basic
> folder with script files in it triggers the macros.  I was able to unzip the
> file, delete the Basic folder, and re-zip the file to avoid the macro
> problem.
> 
> I didn't see anywhere in the code that could have accomplished this. One
> thing to investigate is why the "delete" button cannot delete these things
> in the modules area.

There are several zip algorithms supported by Linux. In order to replicate the
solution that you describe, I need to know which algorithm to use to re-zip the
file. I tried zipinfo on the original file, but it doesn't tell me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190112/732e43c7/attachment.html>


More information about the Libreoffice-bugs mailing list