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

New commits:
commit f633ca7fcdc64a2d30f1682a7dda51fd9f693879
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Nov 3 15:56:35 2022 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri Nov 4 10:12:17 2022 +0100

    ofz#52830 skip slow path for fuzzing
    
    Change-Id: Ic19f71200b862469978e55789ef879d680440a96
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142244
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sw/source/filter/html/htmldrawreader.cxx 
b/sw/source/filter/html/htmldrawreader.cxx
index ac4582e55bd5..b57b4e4b2cf0 100644
--- a/sw/source/filter/html/htmldrawreader.cxx
+++ b/sw/source/filter/html/htmldrawreader.cxx
@@ -538,7 +538,7 @@ void SwHTMLParser::EndMarquee()
     static_cast<SdrTextObj*>(m_pMarquee.get())->SetText( m_aContents );
     m_pMarquee->SetMergedItemSetAndBroadcast( m_pMarquee->GetMergedItemSet() );
 
-    if( m_bFixMarqueeWidth )
+    if (m_bFixMarqueeWidth && !m_bFuzzing)
     {
         // adjust the size to the text
         static_cast<SdrTextObj*>(m_pMarquee.get())->FitFrameToTextSize();

Reply via email to