https://bugs.freedesktop.org/show_bug.cgi?id=51430

--- Comment #5 from Julien Nabet <serval2...@yahoo.fr> ---
Here a patch for the crash:
diff --git a/sw/source/filter/html/swhtml.cxx
b/sw/source/filter/html/swhtml.cxx
index 3cdcbf3..9f716cd 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -2417,6 +2417,8 @@ void SwHTMLParser::AddParSpace()
             //What I do here, is that I examine the attributes, and if
             //I find out, that it's CJK/CTL, then I set the paragraph space
             //to the value set in HTML_CJK_PARSPACE/HTML_CTL_PARSPACE.
+            if (!pTxtNode->HasHints())
+                return;

             sal_Bool bIsCJK = false;
             sal_Bool bIsCTL = false;

But real fix or just hide the real bug?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to