summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmltbli.cxx
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2001-06-28 13:41:28 +0000
committerMichael Brauer <mib@openoffice.org>2001-06-28 13:41:28 +0000
commit0aa3ab81274337181dc5cc54d44061a128636568 (patch)
tree961024472c4e01341353e84aa515fa1d818c8811 /sw/source/filter/xml/xmltbli.cxx
parent6567e80807269aa888ce764d25a27889b9e737f6 (diff)
#88759#: Store table name for charts
Diffstat (limited to 'sw/source/filter/xml/xmltbli.cxx')
-rw-r--r--sw/source/filter/xml/xmltbli.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 804f3e5dbf1d..f15ad473135d 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmltbli.cxx,v $
*
- * $Revision: 1.29 $
+ * $Revision: 1.30 $
*
- * last change: $Author: dvo $ $Date: 2001-06-18 17:27:51 $
+ * last change: $Author: mib $ $Date: 2001-06-28 14:37:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -103,6 +103,9 @@
#ifndef _XMLOFF_XMLUCONV_HXX
#include <xmloff/xmluconv.hxx>
#endif
+#ifndef _XMLOFF_I18NMAP_HXX
+#include <xmloff/i18nmap.hxx>
+#endif
#ifndef _SVX_PROTITEM_HXX
#include <svx/protitem.hxx>
@@ -1308,7 +1311,11 @@ SwXMLTableContext::SwXMLTableContext( SwXMLImport& rImport,
sTblName = aName;
}
if( !sTblName.Len() )
+ {
sTblName = pDoc->GetUniqueTblName();
+ GetImport().GetTextImport()
+ ->GetRenameMap().Add( XML_TEXT_RENAME_TYPE_TABLE, aName, sTblName );
+ }
Reference< XTextTable > xTable;
const SwXTextTable *pXTable = 0;