Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Markus,

On Fri, 2011-08-05 at 22:01 +0200, Markus Mohrhard wrote:
Hello,

this patch should ensure that we write the password algorithm only to
odf 1.2 and later files.

I'm not quite sure how important it is to be 100% standard compliant
so I don't know if we should include it into 3-4.

Well, I do know that 100% standard compliance *does* matter to some
circle of users, so as long as the fix is a safe fix, I would say we
should put it in.

I would make one change though.  Instead of

if ( IsOdfVersionGreaterEqual_1_2() )

we should do

if (getDefaultVersion() >= SvtSaveOptions::ODFVER_012)

and drop the additional method you added in your patch.
Conditionalizing for the ODF version 1.2 or above is common enough that
it is done in many other places, and this is how it is done there.

Other than that, the patch looks good & safe.

Kohei

-- 
Kohei Yoshida, LibreOffice hacker, Calc
<kohei.yoshida@suse.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.