summaryrefslogtreecommitdiff
path: root/filter/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-05 14:30:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-06 08:31:30 +0200
commita1ead1a0281a369087f1b2cce09431542c29bece (patch)
treedcc7dd8dc2fee88d4f125a7e1c8dd265b64030d5 /filter/source
parentee96ea7236958a89b60c87f688070412835ead3f (diff)
loplugin unnecessaryparan improvements
Change-Id: I73e945d6ec53537a0da45f6b6291018c7f251a7e Reviewed-on: https://gerrit.libreoffice.org/39587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source')
-rw-r--r--filter/source/graphicfilter/itiff/ccidecom.cxx2
-rw-r--r--filter/source/msfilter/mstoolbar.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/graphicfilter/itiff/ccidecom.cxx b/filter/source/graphicfilter/itiff/ccidecom.cxx
index c57813e98046..c567774b8dc7 100644
--- a/filter/source/graphicfilter/itiff/ccidecom.cxx
+++ b/filter/source/graphicfilter/itiff/ccidecom.cxx
@@ -835,7 +835,7 @@ sal_uInt8 CCIDecompressor::ReadBlackOrWhite()
nInputBitsBufSize=8;
}
nInputBitsBufSize--;
- if ( ((nInputBitsBuf>>nInputBitsBufSize)&0x0001) ) return 0xff;
+ if ( (nInputBitsBuf>>nInputBitsBufSize) & 0x0001 ) return 0xff;
else return 0x00;
}
diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx
index e12a71ac7499..35bfecb37dae 100644
--- a/filter/source/msfilter/mstoolbar.cxx
+++ b/filter/source/msfilter/mstoolbar.cxx
@@ -469,7 +469,7 @@ TBCGeneralInfo::Print( FILE* fp )
void
TBCGeneralInfo::ImportToolBarControlData( CustomToolBarImportHelper& helper, std::vector< beans::PropertyValue >& sControlData )
{
- if ( ( bFlags & 0x5 ) )
+ if ( bFlags & 0x5 )
{
beans::PropertyValue aProp;
// probably access to the header would be a better test than seeing if there is an action, e.g.