[Libreoffice-bugs] [Bug 122532] Some expressions' first letters eligible to be capitalized are not capitalized.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 15 14:31:05 UTC 2019


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

Buovjaga <todventtu at suomi24.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |todventtu at suomi24.fi
                 OS|Linux (All)                 |All
            Version|6.1.2.1 release             |Inherited From OOo
           Keywords|                            |needsDevAdvice

--- Comment #2 from Buovjaga <todventtu at suomi24.fi> ---
I guess it is some rule made on purpose, possibly a balancing act trying not to
annoy users. The same applies for strings with 2 characters: 'ab. ' will not
capitalise.

I found the condition:

In editeng/source/misc/svxacorr.cxx

In the function definition void SvxAutoCorrect::FnCapitalStartSentence

> if( *pDelim && 2 >= pDelim - pWordStt &&
>    lcl_IsInAsciiArr( ".-)>", *pDelim ) )
>    return;

Adding needsDevAdvice.

-- 
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/20190115/1425b899/attachment-0001.html>


More information about the Libreoffice-bugs mailing list