https://bugs.documentfoundation.org/show_bug.cgi?id=110753

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Julien Nabet <[email protected]> ---
On pc Debian x86-64 with master sources updated yesterday, just clicking on
Italian language in autocorrect options make LO hang.

Adding some traces, LO spends a lot of time in this loop:
https://opengrok.libreoffice.org/xref/core/cui/source/tabpages/autocdlg.cxx?r=ba28af8a#842
    842         for (auto const& elem : aContent)
    843         {
    844             bool bTextOnly = elem->IsTextOnly();
    845             // formatted text is only in Writer
    846             if (bSWriter || bTextOnly)
    847             {
    848                 m_xTextOnlyCB->set_active(elem->IsTextOnly());
    849                 OUString sId;
    850                 if (!bTextOnly)
    851                 {
    852                     // that means: with format info or even with
selection text
    853                     sId =
OUString::number(reinterpret_cast<sal_Int64>(m_xTextOnlyCB.get()));
    854                 }
    855                 m_xReplaceTLB->append(sId, elem->GetShort());
    856                 m_xReplaceTLB->set_text(m_xReplaceTLB->n_children() -
1, elem->GetLong(), 1);
    857             }
    858             else
    859             {
    860                 aFormatText.insert(elem->GetShort());
    861             }
    862         }

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to