diff options
author | Daniel Bankston <daniel.e.bankston@gmail.com> | 2012-06-06 17:45:18 -0500 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-17 17:04:02 +0200 |
commit | 2b8e1f0dfb2522aeaeb388070f7d4d8f2df9b28d (patch) | |
tree | 1faaadea466879677a035515b33bc9b25e83eb91 /sc/source/filter/xml/xmlcelli.hxx | |
parent | 3a703ee4403bf1e23b93097c5053e3eb365696a4 (diff) |
Put EndElement()'s long for-loop into its own method
Moved EndElements()'s long for-loop (where rows and columns are added to the
table) to is own method.
Renamed sub-methods to more appropriately reflect the work being done.
Change-Id: Iab9bdc2deb50577af164c8a210a32557e9708d67
Diffstat (limited to 'sc/source/filter/xml/xmlcelli.hxx')
-rw-r--r-- | sc/source/filter/xml/xmlcelli.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/filter/xml/xmlcelli.hxx b/sc/source/filter/xml/xmlcelli.hxx index 845dacd8e58f..0a0e8c2101f8 100644 --- a/sc/source/filter/xml/xmlcelli.hxx +++ b/sc/source/filter/xml/xmlcelli.hxx @@ -95,9 +95,11 @@ class ScXMLTableRowCellContext : public SvXMLImportContext return (aCellPos.Column <= MAXCOL && aCellPos.Row <= MAXROW); } - void DoNumberFormatTextWork( const ScAddress& rScCurrentPos, const SCCOL nCurrentCol, - const ::boost::optional< rtl::OUString >& pOUText ); - void DoNumberFormatOtherWork( const ScAddress& rScCurrentPos ); + void AddTextCellToDoc ( const ScAddress& rScCurrentPos, const SCCOL nCurrentCol, + const ::boost::optional< rtl::OUString >& pOUText ); + void AddNumberCellToDoc ( const ScAddress& rScCurrentPos ); + void AddCellsToTable ( const ScAddress& rScCellPos, + const ::boost::optional< rtl::OUString >& pOUText, ScAddress& rScCurrentPos ); public: |