fix wrong capitalization in case of non-standard hyphenation
Signed-off-by: Andras Timar <atimar@suse.com>
This commit is contained in:
parent
5b27d98cd9
commit
b26060d88b
@ -487,7 +487,7 @@ Reference< XHyphenatedWord > SAL_CALL Hyphenator::hyphenate( const ::rtl::OUStri
|
||||
}
|
||||
case CAPTYPE_INITCAP:
|
||||
{
|
||||
if (nHyphenationPosAlt == 0)
|
||||
if (nHyphenationPosAlt == -1)
|
||||
repHyph = makeInitCap(repHyphlow, pCC);
|
||||
else
|
||||
repHyph = repHyphlow;
|
||||
|
Loading…
x
Reference in New Issue
Block a user