summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpcolor.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-04 08:53:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-04 10:52:41 +0200
commit7aa7f4d9e4294959748bccf9e763154740251635 (patch)
tree79fc3855ce0cc1141abdda514df374cd42ab259c /lotuswordpro/source/filter/lwpcolor.cxx
parentcoverity#1417293 'Constant' variable guards dead code (diff)
downloadcore-7aa7f4d9e4294959748bccf9e763154740251635.tar.gz
core-7aa7f4d9e4294959748bccf9e763154740251635.zip
loplugin:unnecessaryparen include c++ casts
Change-Id: I132d3c66f0562e2c37a02eaf4c168d06c2b473eb Reviewed-on: https://gerrit.libreoffice.org/41874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/source/filter/lwpcolor.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpcolor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpcolor.cxx b/lotuswordpro/source/filter/lwpcolor.cxx
index 47eb247da16a..1c8857b025df 100644
--- a/lotuswordpro/source/filter/lwpcolor.cxx
+++ b/lotuswordpro/source/filter/lwpcolor.cxx
@@ -66,8 +66,8 @@
sal_uInt32 LwpColor::To24Color()
{
return ((m_nRed >> 8) |
- (m_nGreen & 0xFF00) |
- (static_cast<sal_uInt32>((m_nBlue & 0xFF00) << 8)));
+ (m_nGreen & 0xFF00) |
+ static_cast<sal_uInt32>((m_nBlue & 0xFF00) << 8));
}
/**