summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaszlo Nemeth <nemeth@numbertext.org>2011-07-11 14:09:52 +0200
committerAndras Timar <atimar@suse.com>2011-07-11 14:09:52 +0200
commit5fc91f492910073f47a3fe646264cbc412905547 (patch)
tree91191f8c7731a172d721cca043f878b1afeb4d90
parent532dc8d685fb9aa1319a589b2e0ed77d85563005 (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.cxx2
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;