summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xestream.cxx
diff options
context:
space:
mode:
authorMuthu Subramanian K <sumuthu@novell.com>2010-10-15 14:59:34 +0530
committerMuthu Subramanian K <sumuthu@novell.com>2010-10-16 21:45:43 +0530
commit38c3869bea4ccc548e900c81f324f649bfe80dc2 (patch)
tree4e5679cf9eb969369b0c99df6ee38be0c34aa6bf /sc/source/filter/excel/xestream.cxx
parent9f1cc58c20ee365ff2a158ad69c1091e6ad11ac6 (diff)
Reset vml counters for a new save.
Diffstat (limited to 'sc/source/filter/excel/xestream.cxx')
-rw-r--r--sc/source/filter/excel/xestream.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index 7a2ed32d64e2..660ddd48c014 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -1101,6 +1101,7 @@ bool XclExpXmlStream::exportDocument() throw()
// SfxMedium::GetOutStream() anywhere in the xlsx export filter code!
// Instead, write via XOutputStream instance.
SotStorageRef rStorage = static_cast<SotStorage*>(NULL);
+ XclExpObjList::ResetCounters();
XclExpRootData aData( EXC_BIFF8, *pShell->GetMedium (), rStorage, *pDoc, RTL_TEXTENCODING_DONTKNOW );
aData.meOutput = EXC_OUTPUT_XML_2007;