[Libreoffice-commits] .: sc/source
Muthu Subramanian
sumuthu at kemper.freedesktop.org
Fri Dec 10 08:19:22 PST 2010
sc/source/filter/excel/xestream.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit af616d6d8bc5bf4888b51f6104795db570566a09
Author: Muthu Subramanian K <sumuthu at novell.com>
Date: Fri Dec 10 21:39:20 2010 +0530
XLSX VML Export fixes.
VML files have .vml (instead of .xml)
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index 3fc5d09..571d7fa 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();
}
More information about the Libreoffice-commits
mailing list