diff options
author | Sascha Ballach <sab@openoffice.org> | 2001-03-07 17:02:41 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2001-03-07 17:02:41 +0000 |
commit | 239804a4a5f21b3f96a78a2c60c69647c2ac3572 (patch) | |
tree | d709f19bf49623372e31160819c4c1de5ade135d /sc/source/filter/xml/XMLTableSourceContext.cxx | |
parent | 54fbb092c7640a6384a0c1d1879e7fb603720a90 (diff) |
export and import linked table if no table name is given
Diffstat (limited to 'sc/source/filter/xml/XMLTableSourceContext.cxx')
-rw-r--r-- | sc/source/filter/xml/XMLTableSourceContext.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/xml/XMLTableSourceContext.cxx b/sc/source/filter/xml/XMLTableSourceContext.cxx index 48347571316f..05361166e235 100644 --- a/sc/source/filter/xml/XMLTableSourceContext.cxx +++ b/sc/source/filter/xml/XMLTableSourceContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLTableSourceContext.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: sab $ $Date: 2000-12-08 14:42:50 $ + * last change: $Author: sab $ $Date: 2001-03-07 18:02:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -156,7 +156,7 @@ SvXMLImportContext *ScXMLTableSourceContext::CreateChildContext( USHORT nPrefix, void ScXMLTableSourceContext::EndElement() { - if (sLink.getLength() && sTableName.getLength()) + if (sLink.getLength()) { uno::Reference <sheet::XSheetLinkable> xLinkable (GetScImport().GetTables().GetCurrentXSheet(), uno::UNO_QUERY); ScDocument* pDoc = GetScImport().GetDocument(); |