diff options
author | Muthu Subramanian K <sumuthu@novell.com> | 2010-12-10 21:39:20 +0530 |
---|---|---|
committer | Muthu Subramanian K <sumuthu@novell.com> | 2010-12-10 21:44:54 +0530 |
commit | af616d6d8bc5bf4888b51f6104795db570566a09 (patch) | |
tree | 7bc80a30ff42d4dfe214f009c5ab45ed396f9335 /sc/source | |
parent | bbd8580ba94a50590d0c02985024e55def2d1100 (diff) |
XLSX VML Export fixes.
VML files have .vml (instead of .xml)
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/excel/xestream.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index 3fc5d091e..571d7fa69 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -732,7 +732,10 @@ rtl::OUString XclXmlUtils::GetStreamName( const char* sStreamDir, const char* sS sBuf.appendAscii( sStream ); if( nId ) sBuf.append( nId ); - sBuf.appendAscii( ".xml" ); + if( strstr(sStream, "vml") ) + sBuf.appendAscii( ".vml" ); + else + sBuf.appendAscii( ".xml" ); return sBuf.makeStringAndClear(); } |