[Libreoffice-bugs] [Bug 140849] "Apply and Edit changes" from AutoCorrect crashes LO writer

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Mar 7 09:46:23 UTC 2021


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

--- Comment #5 from Julien Nabet <serval2412 at yahoo.fr> ---
After digging a bit, I submitted a second patch to fix the other bt but it
concerns only French UI since it fails at line 670:
    662     if ( rCC.getLanguageTag().getLanguage() == "fr" )
    663     {
    664         bool bFrCA = (rCC.getLanguageTag().getCountry() == "CA");
    665         OUString allChars = ":;?!%";
    666         OUString chars( allChars );
    667         if ( bFrCA )
    668             chars = ":";
    669 
    670         sal_Unicode cChar = rTxt[ nEndPos ];

so in the "if ( rCC.getLanguageTag().getLanguage() == "fr" )" block and you use
Locale: it-IT (en_GB.UTF-8); UI: en-GB

To start from a good basis, could you apply
https://wiki.documentfoundation.org/QA/FirstSteps
then if you still reproduce the crash try to retrieve a backtrace?
(See
https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_backtrace)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210307/62a1ab72/attachment.htm>


More information about the Libreoffice-bugs mailing list