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