diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-06 22:21:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-07 14:42:07 +0100 |
commit | 7b1261f6f956271ec2a545f635e11432a5e64fa1 (patch) | |
tree | 60419323374af92164590d274134a3e7f0c6eae6 /sal/textenc | |
parent | d1a74c273d10e6ab228acac2b8ebc151362a41b3 (diff) |
loplugin:cstylecast: sal
Change-Id: I0ad9681a8b31d78cefce5b66040415154a1c7a99
Diffstat (limited to 'sal/textenc')
-rw-r--r-- | sal/textenc/textcvt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/textenc/textcvt.cxx b/sal/textenc/textcvt.cxx index 2710973e4941..cda7faa56464 100644 --- a/sal/textenc/textcvt.cxx +++ b/sal/textenc/textcvt.cxx @@ -127,7 +127,7 @@ rtl_TextToUnicodeContext SAL_CALL rtl_createTextToUnicodeContext( rtl_TextToUnic else if ( pConverter->mpCreateTextToUnicodeContext ) return (rtl_TextToUnicodeContext)pConverter->mpCreateTextToUnicodeContext(); else - return (rtl_TextToUnicodeContext)1; + return reinterpret_cast<rtl_TextToUnicodeContext>(1); } /* ----------------------------------------------------------------------- */ @@ -205,7 +205,7 @@ rtl_UnicodeToTextContext SAL_CALL rtl_createUnicodeToTextContext( rtl_UnicodeToT else if ( pConverter->mpCreateUnicodeToTextContext ) return (rtl_UnicodeToTextContext)pConverter->mpCreateUnicodeToTextContext(); else - return (rtl_UnicodeToTextContext)1; + return reinterpret_cast<rtl_UnicodeToTextContext>(1); } /* ----------------------------------------------------------------------- */ |