diff options
author | Daniel Bankston <daniel.e.bankston@gmail.com> | 2012-06-06 20:04:15 -0500 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-17 17:04:03 +0200 |
commit | a137ecf74ad0c0342183c9772ff1c22c03fd0ffd (patch) | |
tree | b3ddc5cd8f11987b574b2d449b514c54b0f06f8d /sc/source/filter/xml/xmlcelli.hxx | |
parent | d441f74a6d82aaad5f3ff97b84c0010c52d3aa7f (diff) |
Put some conditional statements into readable methods and do minor formatting
Change-Id: I82d6349db5e7e3afdc36d893155539129f9d120c
Diffstat (limited to 'sc/source/filter/xml/xmlcelli.hxx')
-rw-r--r-- | sc/source/filter/xml/xmlcelli.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlcelli.hxx b/sc/source/filter/xml/xmlcelli.hxx index 3e7e46e0b1c0..bc7f49f8df37 100644 --- a/sc/source/filter/xml/xmlcelli.hxx +++ b/sc/source/filter/xml/xmlcelli.hxx @@ -61,7 +61,7 @@ class ScXMLTableRowCellContext : public SvXMLImportContext ScMyImpCellRangeSource* pCellRangeSource; double fValue; SCROW nMergedRows, nMatrixRows, nRepeatedRows; - SCCOL nMergedCols, nMatrixCols, nCellsRepeated; + SCCOL nMergedCols, nMatrixCols, nColsRepeated; ScXMLImport& rXMLImport; formula::FormulaGrammar::Grammar eGrammar; sal_Int16 nCellType; @@ -95,6 +95,9 @@ class ScXMLTableRowCellContext : public SvXMLImportContext return (aCellPos.Column <= MAXCOL && aCellPos.Row <= MAXROW); } + bool ContextIsEmpty() const; + bool CellsAreRepeated() const; + void AddTextCellToDoc ( const ScAddress& rScCurrentPos, const SCCOL nCurrentCol, const ::boost::optional< rtl::OUString >& pOUText ); void AddNumberCellToDoc ( const ScAddress& rScCurrentPos ); |