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
commitb26060d88bffb4b2ba821de7fddcd9ffe3b0025c (patch)
tree336faf0b116a9e18119617874297c61c462f8939
parent5b27d98cd99e62b62e41d3d04fe66bac02174bc9 (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 8324c4fcba0b..2e01a350822f 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;