diff options
author | Sascha Ballach <sab@openoffice.org> | 2000-10-11 13:30:02 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2000-10-11 13:30:02 +0000 |
commit | c3f9a6441f0791c312e7dde3f6929a7682a841f6 (patch) | |
tree | efb96dc8af2b4cc3fa5fc8419b0a1ae99650b70d /sc/source/filter/xml/xmlconti.cxx | |
parent | import of print ranges (diff) | |
download | core-c3f9a6441f0791c312e7dde3f6929a7682a841f6.tar.gz core-c3f9a6441f0791c312e7dde3f6929a7682a841f6.zip |
Import Content Validations added
Diffstat (limited to 'sc/source/filter/xml/xmlconti.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlconti.cxx | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/sc/source/filter/xml/xmlconti.cxx b/sc/source/filter/xml/xmlconti.cxx index 6a22ab1977d9..d07a242b4d60 100644 --- a/sc/source/filter/xml/xmlconti.cxx +++ b/sc/source/filter/xml/xmlconti.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmlconti.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:45:15 $ + * last change: $Author: sab $ $Date: 2000-10-11 14:30:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -83,12 +83,11 @@ ScXMLContentContext::ScXMLContentContext( ScXMLImport& rImport, const NAMESPACE_RTL(OUString)& rLName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList>& xAttrList, - ScXMLTableRowCellTokens aTempTableRowCellToken, - ScXMLTableRowCellContext* pTempScXMLTableRowCellContext) : - SvXMLImportContext( rImport, nPrfx, rLName ) + rtl::OUString& sTempValue) : + SvXMLImportContext( rImport, nPrfx, rLName ), + sOUText(), + sValue(sTempValue) { - pScXMLTableRowCellContext = pTempScXMLTableRowCellContext; - aTableRowCellToken = aTempTableRowCellToken; } ScXMLContentContext::~ScXMLContentContext() @@ -128,12 +127,5 @@ void ScXMLContentContext::Characters( const ::rtl::OUString& rChars ) void ScXMLContentContext::EndElement() { - switch (aTableRowCellToken) - { - case XML_TOK_TABLE_ROW_CELL_P : - { - pScXMLTableRowCellContext->SetString(sOUText); - break; - } - } + sValue += sOUText; } |