diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 17:56:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 18:26:58 +0200 |
commit | 6d4a0474b398f754fd960045c050b4e065ac61a1 (patch) | |
tree | dddafd70faa1d90d948063c8885e9b33546b67f3 /lingucomponent/source/hyphenator/hyphen | |
parent | 6194da0903528ecf07a4dcbea76ce5de6a5c2465 (diff) |
loplugin:salunicodeliteral: lingucomponent
Change-Id: I130ca7e2d98626f0d187eb69e6ea4b0554f1bd00
Diffstat (limited to 'lingucomponent/source/hyphenator/hyphen')
-rw-r--r-- | lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx index e124a9c6e61d..5183bc39007d 100644 --- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx +++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx @@ -327,9 +327,9 @@ Reference< XHyphenatedWord > SAL_CALL Hyphenator::hyphenate( const OUString& aWo { ch = rBuf[ix]; if ((ch == 0x201C) || (ch == 0x201D)) - rBuf[ix] = (sal_Unicode)0x0022; + rBuf[ix] = u'"'; if ((ch == 0x2018) || (ch == 0x2019)) - rBuf[ix] = (sal_Unicode)0x0027; + rBuf[ix] = u'\''; } OUString nWord(rBuf.makeStringAndClear()); @@ -606,9 +606,9 @@ Reference< XPossibleHyphens > SAL_CALL Hyphenator::createPossibleHyphens( const { ch = rBuf[ix]; if ((ch == 0x201C) || (ch == 0x201D)) - rBuf[ix] = (sal_Unicode)0x0022; + rBuf[ix] = u'"'; if ((ch == 0x2018) || (ch == 0x2019)) - rBuf[ix] = (sal_Unicode)0x0027; + rBuf[ix] = u'\''; } OUString nWord(rBuf.makeStringAndClear()); |