summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xedbdata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xedbdata.cxx')
-rw-r--r--sc/source/filter/excel/xedbdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xedbdata.cxx b/sc/source/filter/excel/xedbdata.cxx
index 416cb34da9a6..7dfb44eec058 100644
--- a/sc/source/filter/excel/xedbdata.cxx
+++ b/sc/source/filter/excel/xedbdata.cxx
@@ -182,7 +182,7 @@ void XclExpTables::SaveTableXml( XclExpXmlStream& rStrm, const Entry& rEntry )
XML_id, OString::number( rEntry.mnTableId),
XML_name, rData.GetName().toUtf8(),
XML_displayName, rData.GetName().toUtf8(),
- XML_ref, XclXmlUtils::ToOString(aRange),
+ XML_ref, XclXmlUtils::ToOString(&rStrm.GetRoot().GetDoc(), aRange),
XML_headerRowCount, ToPsz10(rData.HasHeader()),
XML_totalsRowCount, ToPsz10(rData.HasTotals()),
XML_totalsRowShown, ToPsz10(rData.HasTotals()) // we don't support that but if there are totals they are shown