Re: [Libreoffice] [REVIEW] patch for fdo#38561: can't save pw protected file without pw

2011-06-27 Thread Dennis E. Hamilton
:libreoffice-bounces+dennis.hamilton=acm@lists.freedesktop.org] On Behalf Of Markus Mohrhard Sent: Monday, June 27, 2011 01:40 To: Andras Timar Cc: libreoffice-dev Subject: Re: [Libreoffice] [REVIEW] patch for fdo#38561: can't save pw protected file without pw Hello Andras, It

Re: [Libreoffice] [REVIEW] patch for fdo#38561: can't save pw protected file without pw

2011-06-27 Thread Markus Mohrhard
Hello Andras, > It's not clear to me why the functionality works in 3.3. Encryption > data is not cleared there, too. > > I only had a closer look at the xls export and we didn't use the EncryptionData in the export there, at least not to detect if the file is pw protected. There we used the SID_

Re: [Libreoffice] [REVIEW] patch for fdo#38561: can't save pw protected file without pw

2011-06-27 Thread Andras Timar
Hello, 2011/6/27 Markus Mohrhard : > Hello, > > this patch fixes the problem that we are unable to save a password protected > file without a password. The problem is that we don't clear the old > encryption data and copy them from the old ItemSet. We merge two ItemSets > there, and the informatio

[Libreoffice] [REVIEW] patch for fdo#38561: can't save pw protected file without pw

2011-06-26 Thread Markus Mohrhard
Hello, this patch fixes the problem that we are unable to save a password protected file without a password. The problem is that we don't clear the old encryption data and copy them from the old ItemSet. We merge two ItemSets there, and the information about encryption should always come from the