summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/DomainMapperTableManager.hxx
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2020-06-29 13:20:00 +0300
committerJustin Luth <justin_luth@sil.org>2020-07-08 17:31:35 +0200
commit2e8992aea2017e89a6f7ba5f0ef544f29059243b (patch)
treea91b5e7d68b46618d08e4df683e3c578a70f955f /writerfilter/source/dmapper/DomainMapperTableManager.hxx
parenta480b32fb7a381fc17d51c2ccd0e8c4455d38792 (diff)
tdf#129452 writerfilter: preserve gridSpans longer than currentRow
It is a fairly common thing for table operations to compare items in the same column (like merged cells for example). In order to determine column information, each row's (gridBefore - change-id Ie305477f0e3468a4a923095d76f520d97fe99ffe - and) merged cells need to be known. So save that information in the cell data - and don't just throw it away after the current row has been analyzed. Good grief. Change-Id: Ibfdac336bbb1f7303c7e585a85c94be37ad6f916 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97433 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'writerfilter/source/dmapper/DomainMapperTableManager.hxx')
-rw-r--r--writerfilter/source/dmapper/DomainMapperTableManager.hxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/DomainMapperTableManager.hxx b/writerfilter/source/dmapper/DomainMapperTableManager.hxx
index 93e303555d27..b3d44eeb8217 100644
--- a/writerfilter/source/dmapper/DomainMapperTableManager.hxx
+++ b/writerfilter/source/dmapper/DomainMapperTableManager.hxx
@@ -53,7 +53,6 @@ class DomainMapperTableManager : public TableManager
std::vector< TablePropertyMapPtr > m_aTmpTableProperties; ///< Temporarily stores the table properties until end of row
::std::vector< IntVectorPtr > m_aTableGrid;
- ::std::vector< IntVectorPtr > m_aGridSpans;
/// If this is true, then we pushed a width before the next level started, and that should be carried over when starting the next level.
bool m_bPushCurrentWidth;
/// Individual table cell width values, used only in case the number of cells doesn't match the table grid.