From ddc968923061ea26bd5f9a110a3c2d3914325d33 Mon Sep 17 00:00:00 2001 From: Katarina Machalkova Date: Wed, 13 Oct 2010 18:12:19 +0200 Subject: Merged ooxml-sc-paneexport.cxx from ooo-build --- sc/source/filter/excel/xestream.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sc/source/filter/excel/xestream.cxx') diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index 35976d7a0fdd..7a2ed32d64e2 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -48,6 +48,7 @@ #include "compiler.hxx" #include <../../ui/inc/docsh.hxx> +#include <../../ui/inc/viewdata.hxx> #include #include @@ -1120,6 +1121,10 @@ bool XclExpXmlStream::exportDocument() throw() pShell->SetError( nError, ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ) ); } #endif + // Get the viewsettings before processing + if( pShell->GetViewData() ) + pShell->GetViewData()->WriteExtOptions( mpRoot->GetExtDocOptions() ); + OUString const workbook = CREATE_OUSTRING( "xl/workbook.xml" ); PushStream( CreateOutputStream( workbook, workbook, Reference (), -- cgit