diff options
author | Akash Shetye <shetyeakash@gmail.com> | 2013-09-18 23:54:58 +0530 |
---|---|---|
committer | Akash Shetye <shetyeakash@gmail.com> | 2013-09-18 23:54:58 +0530 |
commit | 97a19389c398dc0aab5d520c61d7d4e9aba2cd11 (patch) | |
tree | 2bae4f5f06a7a49e6e460d9cd6b06d837f4b8558 | |
parent | 1bf44abe54c2c2f7d0deeb08ad6280021893fb65 (diff) |
Corrected the [Content_type].xml data
Change-Id: I0745088c52c9626de0b131c58126b7cd57c06976
-rw-r--r-- | sc/source/filter/excel/xedbdata.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xedbdata.cxx b/sc/source/filter/excel/xedbdata.cxx index 502ea158f255..0e2c102f5828 100644 --- a/sc/source/filter/excel/xedbdata.cxx +++ b/sc/source/filter/excel/xedbdata.cxx @@ -142,8 +142,8 @@ void XclExpXmlDBDataTables::SaveXml( XclExpXmlStream& rStrm ) OUString( "xl/tables/table" )+ OUString::number( i ) + OUString(".xml" ), OUString( "table" ) + OUString::number( i ) + OUString( ".xml" ), rStrm.GetCurrentStream()->getOutputStream(), - "application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml", - "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" );// Last two parameters are a mystery + "application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml", + "http://schemas.openxmlformats.org/officeDocument/2006/relationships/table" );// imp for xlsx import rStrm.PushStream( aDBDataTable ); //Now the table#.xml file is created, need to pass the stream to that table itr->SaveXml( rStrm ); |