diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-01-17 22:00:10 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-01-17 22:54:51 +0100 |
commit | 6ad708912c433c2d6035340258a002a12db5b895 (patch) | |
tree | e105a95ebfd7e3c9221cb50e6c28a07428190ce2 /lingucomponent | |
parent | 4a3398ce12bcfd2475dbbc682b881844a58a2ccf (diff) |
Reduce scope
Change-Id: I58a1f5d36939dd95648ea42b31331e757c65ee57
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx index 749c61571793..cc9bfb70f5d6 100644 --- a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx +++ b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx @@ -327,8 +327,7 @@ Reference< XHyphenatedWord > SAL_CALL Hyphenator::hyphenate( const ::rtl::OUStri if (eEnc == RTL_TEXTENCODING_DONTKNOW) return NULL; - sal_uInt16 ct = CAPTYPE_UNKNOWN; - ct = capitalType(aWord, pCC); + sal_uInt16 ct = capitalType(aWord, pCC); // first convert any smart quotes or apostrophes to normal ones OUStringBuffer rBuf(aWord); |