summaryrefslogtreecommitdiff
path: root/lotuswordpro
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
parent6f511a5de909b2fb6cb42b851e0cc90f54fbdd59 (diff)
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')
-rw-r--r--lotuswordpro/source/filter/lwpcolor.cxx4
-rw-r--r--lotuswordpro/source/filter/lwplayout.cxx2
2 files changed, 3 insertions, 3 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));
}
/**
diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx
index 164e88f144ce..3880d7e8afbf 100644
--- a/lotuswordpro/source/filter/lwplayout.cxx
+++ b/lotuswordpro/source/filter/lwplayout.cxx
@@ -637,7 +637,7 @@ LwpLayoutGeometry* LwpMiddleLayout::Geometry()
{
if( !m_LayGeometry.IsNull() )
{
- return ( dynamic_cast<LwpLayoutGeometry*> (m_LayGeometry.obj().get()) );
+ return dynamic_cast<LwpLayoutGeometry*> (m_LayGeometry.obj().get());
}
else
{