[ooo-build-commit] patches/dev300

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Oct 5 13:07:52 PDT 2009


 patches/dev300/calc-xls-export-encryption-condfmt-fix.diff |   16 +++++++++++++
 1 file changed, 16 insertions(+)

New commits:
commit 49db7b83d185bf2e0e2d5ea6f22ffb1a286ab4de
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Mon Oct 5 16:07:28 2009 -0400

    Re-enable export encryption when the interface record block ends.
    
    * patches/dev300/calc-xls-export-encryption-condfmt-fix.diff:

diff --git a/patches/dev300/calc-xls-export-encryption-condfmt-fix.diff b/patches/dev300/calc-xls-export-encryption-condfmt-fix.diff
index 5f834e2..6041ecf 100644
--- a/patches/dev300/calc-xls-export-encryption-condfmt-fix.diff
+++ b/patches/dev300/calc-xls-export-encryption-condfmt-fix.diff
@@ -1,3 +1,19 @@
+diff --git sc/source/filter/xcl97/xcl97rec.cxx sc/source/filter/xcl97/xcl97rec.cxx
+index 97bd958..eea4ec0 100644
+--- sc/source/filter/xcl97/xcl97rec.cxx
++++ sc/source/filter/xcl97/xcl97rec.cxx
+@@ -1496,8 +1496,10 @@ XclExpInterfaceEnd::~XclExpInterfaceEnd()
+ {
+ }
+ 
+-void XclExpInterfaceEnd::WriteBody( XclExpStream& /*rStrm*/ )
++void XclExpInterfaceEnd::WriteBody( XclExpStream& rStrm )
+ {
++    // Don't forget to re-enable encryption.
++    rStrm.EnableEncryption();
+ }
+ 
+ // ============================================================================
 diff --git sc/source/filter/excel/xecontent.cxx sc/source/filter/excel/xecontent.cxx
 index ae987eb..4575fca 100644
 --- sc/source/filter/excel/xecontent.cxx


More information about the ooo-build-commit mailing list