summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-01-30 10:18:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-01-30 15:19:51 +0100
commit01f59d11df3d08c00bb53c093f16b924b7fdd1d9 (patch)
tree841132e8301c1fa369f5988dff8a183221e31f63
parenteedc8b23ce4ba9b15fc30f2bc05a6e1aafe727e5 (diff)
ofz#5825 tweak max table in table depth
Change-Id: If56bbef6d6560294bd5c2b87b6aa50382dd30a07 Reviewed-on: https://gerrit.libreoffice.org/48894 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/source/filter/html/swhtml.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/swhtml.hxx b/sw/source/filter/html/swhtml.hxx
index b49f03ba5efe..812a4ba1cc62 100644
--- a/sw/source/filter/html/swhtml.hxx
+++ b/sw/source/filter/html/swhtml.hxx
@@ -896,7 +896,7 @@ private:
{
++m_rParser.m_nTableDepth;
}
- bool TooDeep() const { return m_rParser.m_nTableDepth > 2048; }
+ bool TooDeep() const { return m_rParser.m_nTableDepth > 1024; }
~TableDepthGuard()
{
--m_rParser.m_nTableDepth;