sc/source/filter/excel/excdoc.cxx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-)
New commits: commit bbe49667aa6dff069ba7836766fce2e85c03aace Author: Kohei Yoshida <kohei.yosh...@collabora.com> Date: Tue Aug 26 09:40:45 2014 -0400 We don't need this branching here anymore. Change-Id: I5253e919b85d66fb826eb76a8369f928611644ed diff --git a/sc/source/filter/excel/excdoc.cxx b/sc/source/filter/excel/excdoc.cxx index 490d7d4..5cb48d2 100644 --- a/sc/source/filter/excel/excdoc.cxx +++ b/sc/source/filter/excel/excdoc.cxx @@ -244,19 +244,16 @@ void ExcTable::FillAsHeaderBinary( ExcBoundsheetList& rBoundsheetList ) } // document protection options - if( GetOutput() == EXC_OUTPUT_BINARY ) - { - lcl_AddWorkbookProtection( aRecList, *this ); - - if( GetBiff() == EXC_BIFF8 ) - { - Add( new XclExpProt4Rev ); - Add( new XclExpProt4RevPass ); - } + lcl_AddWorkbookProtection( aRecList, *this ); - lcl_AddBookviews( aRecList, *this ); + if( GetBiff() == EXC_BIFF8 ) + { + Add( new XclExpProt4Rev ); + Add( new XclExpProt4RevPass ); } + lcl_AddBookviews( aRecList, *this ); + Add( new XclExpXmlStartSingleElementRecord( XML_workbookPr ) ); if ( GetBiff() == EXC_BIFF8 && GetOutput() != EXC_OUTPUT_BINARY ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits