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/qa/rtl | |
parent | d1a74c273d10e6ab228acac2b8ebc151362a41b3 (diff) |
loplugin:cstylecast: sal
Change-Id: I0ad9681a8b31d78cefce5b66040415154a1c7a99
Diffstat (limited to 'sal/qa/rtl')
-rw-r--r-- | sal/qa/rtl/textenc/rtl_textcvt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/rtl/textenc/rtl_textcvt.cxx b/sal/qa/rtl/textenc/rtl_textcvt.cxx index 9aa6630b2462..7a142394a538 100644 --- a/sal/qa/rtl/textenc/rtl_textcvt.cxx +++ b/sal/qa/rtl/textenc/rtl_textcvt.cxx @@ -239,7 +239,7 @@ void doComplexCharSetTest(ComplexCharSetTest const & rTest) { rtl_TextToUnicodeContext aContext = rtl_createTextToUnicodeContext(aConverter); CPPUNIT_ASSERT_MESSAGE("rtl_createTextToUnicodeContext failed", aContext != NULL); - if (aContext != (rtl_TextToUnicodeContext) 1) { + if (aContext != reinterpret_cast<rtl_TextToUnicodeContext>(1)) { sal_Size nInput = 0; sal_Size nOutput = 0; for (bool bFlush = true; nInput < rTest.m_nTextSize || bFlush;) { |