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

--- Comment #9 from Michael Meeks <[email protected]> ---
Amazingly it seems that a big chunk of our time is spent by the (banal) copy
constructor of the std::set - we seemingly duplicate the initial plain
SvxAutocorrect instance into an SwAutoCorrect sub-class (typical) which derives
from this later in the day. Sadly unwinding exactly what is going on there and
how it interacts with load/save is beyond the scope of the time I have now:

sw/source/ui/app/swmodule.cxx:

    // replace SvxAutocorrect with SwAutocorrect
    SvxAutoCorrCfg& rACfg = SvxAutoCorrCfg::Get();
    const SvxAutoCorrect* pOld = rACfg.GetAutoCorrect();
    rACfg.SetAutoCorrect(new SwAutoCorrect( *pOld ));

appears to end up doubling the amount of work/space wasteage etc. here
(somehow) though perhaps I mis-understand the callgrind trace; something is
very odd.

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

Reply via email to