summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMuthu Subramanian K <sumuthu@novell.com>2010-12-10 21:39:20 +0530
committerMuthu Subramanian K <sumuthu@novell.com>2010-12-10 21:44:54 +0530
commitaf616d6d8bc5bf4888b51f6104795db570566a09 (patch)
tree7bc80a30ff42d4dfe214f009c5ab45ed396f9335 /sc/source
parentbbd8580ba94a50590d0c02985024e55def2d1100 (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.cxx5
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();
}