[Libreoffice-commits] .: Branch 'libreoffice-3-4' - lingucomponent/source
Andras Timar
timar at kemper.freedesktop.org
Mon Jul 11 05:10:01 PDT 2011
lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5fc91f492910073f47a3fe646264cbc412905547
Author: Laszlo Nemeth <nemeth at numbertext.org>
Date: Mon Jul 11 14:09:52 2011 +0200
fix wrong capitalization in case of non-standard hyphenation
Signed-off-by: Andras Timar <atimar at suse.com>
diff --git a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx
index 95282ac..627e5cf 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;
More information about the Libreoffice-commits
mailing list