summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxattributeoutput.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-17 15:31:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-17 20:35:00 +0100
commit9657455d985ecce30c4e9d3d799212e7cc8aa57a (patch)
treed0efbf0ead6eaf3578a1fe3574b4644ca3af1753 /sw/source/filter/ww8/docxattributeoutput.hxx
parent67ef5f22aa3c8f060ab5caf5b816e9806c610654 (diff)
Resolves: tdf#90681 table model can have truly empty cells
old school complex tables can create a table model where a cell exists in the table but there are no paragraphs in it. -------- | A | C | ---- | B |*D*| -------- i.e. normally for the above there are 4 nodes which get exported, even though C and D are merged. But it can be the case that there are only three nodes, and *D* is missing be conservative for now and only do this for the obviously broken no cell start but cell end case and incrementally build up the test-cases Change-Id: I5703595f61688a66b7fac7f3905ace0c207c9875
Diffstat (limited to 'sw/source/filter/ww8/docxattributeoutput.hxx')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx
index 2b253d269559..ff495417e25a 100644
--- a/sw/source/filter/ww8/docxattributeoutput.hxx
+++ b/sw/source/filter/ww8/docxattributeoutput.hxx
@@ -945,6 +945,8 @@ private:
OUString m_aRunSdtPrAlias;
/// Currently paragraph SDT has a <w:id> child element.
bool m_bParagraphSdtHasId;
+ /// Checking for balanced table cells start/ends
+ sal_Int32 m_nCellsOpen;
std::map<SvxBoxItemLine, css::table::BorderLine2> m_aTableStyleConf;