[Libreoffice-commits] core.git: sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Tue Aug 26 06:41:58 PDT 2014
sc/source/filter/excel/excdoc.cxx | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
New commits:
commit bbe49667aa6dff069ba7836766fce2e85c03aace
Author: Kohei Yoshida <kohei.yoshida at 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 )
{
More information about the Libreoffice-commits
mailing list