diff options
author | Laszlo Nemeth <nemeth@numbertext.org> | 2011-07-11 14:09:52 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2011-07-11 14:09:52 +0200 |
commit | 5fc91f492910073f47a3fe646264cbc412905547 (patch) | |
tree | 91191f8c7731a172d721cca043f878b1afeb4d90 | |
parent | 532dc8d685fb9aa1319a589b2e0ed77d85563005 (diff) |
fix wrong capitalization in case of non-standard hyphenation
Signed-off-by: Andras Timar <atimar@suse.com>
-rw-r--r-- | lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx index 95282ac0c..627e5cfdc 100644 --- a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx +++ b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx @@ -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; |