summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/DomainMapperTableManager.hxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2012-09-20 13:28:37 +0200
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-09-21 17:18:16 +0200
commitb14b0f2b953b68612b8c230dbf3cabc15247c72d (patch)
treeafaa80af1f367be9f0db0039fa49a72525c26cd3 /writerfilter/source/dmapper/DomainMapperTableManager.hxx
parent9b0198b2442bc749491d0f1e5e2c811346e5d568 (diff)
n#779627: fixed writerfilter import of grid when there are nested tables
When a nested table is ended, it resets the m_nCell to 0... and thus the filter forgets about the previous cells of the outer table row it is importing. Using a vector to store the m_nCell values for each table solves the problem Change-Id: I8007960f4c95d713bfedc6b815d5783a5d25af23
Diffstat (limited to 'writerfilter/source/dmapper/DomainMapperTableManager.hxx')
-rw-r--r--writerfilter/source/dmapper/DomainMapperTableManager.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/DomainMapperTableManager.hxx b/writerfilter/source/dmapper/DomainMapperTableManager.hxx
index a005c2e41690..e9255f7afaca 100644
--- a/writerfilter/source/dmapper/DomainMapperTableManager.hxx
+++ b/writerfilter/source/dmapper/DomainMapperTableManager.hxx
@@ -35,7 +35,7 @@ class DomainMapperTableManager : public DomainMapperTableManager_Base_t
typedef boost::shared_ptr< std::vector<sal_Int32> > IntVectorPtr;
sal_uInt32 m_nRow;
- sal_uInt32 m_nCell;
+ ::std::vector< sal_uInt32 > m_nCell;
sal_uInt32 m_nGridSpan;
sal_uInt32 m_nCellBorderIndex; //borders are provided for all cells and need counting
sal_Int32 m_nHeaderRepeat; //counter of repeated headers - if == -1 then the repeating stops