[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Tue Jan 30 14:20:15 UTC 2018


 sw/source/filter/html/swhtml.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 01f59d11df3d08c00bb53c093f16b924b7fdd1d9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jan 30 10:18:21 2018 +0000

    ofz#5825 tweak max table in table depth
    
    Change-Id: If56bbef6d6560294bd5c2b87b6aa50382dd30a07
    Reviewed-on: https://gerrit.libreoffice.org/48894
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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;


More information about the Libreoffice-commits mailing list