<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN: can't get rid of macro warning"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=61398#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN: can't get rid of macro warning"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=61398">bug 61398</a>
from <span class="vcard"><a class="email" href="mailto:aleph0hpela-bugz@yahoo.co.uk" title="Richard Parkins <aleph0hpela-bugz@yahoo.co.uk>"> <span class="fn">Richard Parkins</span></a>
</span></b>
<pre>(In reply to Justin L from <a href="show_bug.cgi?id=61398#c11">comment #11</a>)
<span class="quote">> (In reply to Richard Parkins from <a href="show_bug.cgi?id=61398#c8">comment #8</a>)
> > 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.</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>