diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-13 09:45:00 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-13 10:10:55 +0200 |
commit | 57fd10220a2136269a0890128f643572877251a9 (patch) | |
tree | 35c24146e5e2a574cb2831e9fef9ac16dcdc793d /sal | |
parent | 856b7f5f783471388cd811d92172cc1d2da7e331 (diff) |
warning C4706: assignment within conditional expression
quite useful in this case
Change-Id: I2f9a5ef8ea9faf7a1ce62bd9b4925b3f36b19d1a
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/rtl/textenc/rtl_tencinfo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/rtl/textenc/rtl_tencinfo.cxx b/sal/qa/rtl/textenc/rtl_tencinfo.cxx index 85be1fdf5928..3cc2167ec04d 100644 --- a/sal/qa/rtl/textenc/rtl_tencinfo.cxx +++ b/sal/qa/rtl/textenc/rtl_tencinfo.cxx @@ -1025,7 +1025,7 @@ namespace { const sal_uInt8 nCharSet = rtl_getBestWindowsCharsetFromTextEncoding(nIn); rtl_TextEncoding eTextEnc = rtl_getTextEncodingFromWindowsCharset(nCharSet); - CPPUNIT_ASSERT_MESSAGE("rtl_getBestUnixCharsetFromTextEncoding && rtl_getTextEncodingFromWindowsCharset differ", eTextEnc = nOut); + CPPUNIT_ASSERT_MESSAGE("rtl_getBestWindowsCharsetFromTextEncoding && rtl_getTextEncodingFromWindowsCharset differ", eTextEnc == nOut); } void WindowsCharsetFromTextEncoding_MS_1252() |