From b26060d88bffb4b2ba821de7fddcd9ffe3b0025c Mon Sep 17 00:00:00 2001 From: Laszlo Nemeth Date: Mon, 11 Jul 2011 14:09:52 +0200 Subject: fix wrong capitalization in case of non-standard hyphenation Signed-off-by: Andras Timar --- lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lingucomponent') 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; -- cgit