diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-07 08:59:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-07 09:56:06 +0100 |
commit | fd6eef7c48833538f4a1e7ee61a48bf021f4e01d (patch) | |
tree | bb6c9ce8769368c6bb0769dee89cd2df5d833af4 /sw | |
parent | 68f585b1372ecf119271b18f46fb468538fde621 (diff) |
cppcheck: redundantCondition
Change-Id: If4ef5f054412b75a18d4afd28509ca02d5d2573f
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8scan.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index eca4dc3c6000..ed1a83b528cc 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -6089,7 +6089,7 @@ rtl_TextEncoding WW8Fib::GetFIBCharset(sal_uInt16 chs, sal_uInt16 nLidLocale) OSL_ENSURE(chs <= 0x100, "overflowed winword charset set"); if (chs == 0x0100) return RTL_TEXTENCODING_APPLE_ROMAN; - if (chs == 0 && nLidLocale != 0 && nLidLocale >= 999) + if (chs == 0 && nLidLocale >= 999) { /* nLidLocale: |