diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-04 11:20:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-05 07:49:30 +0100 |
commit | e4472d3c139294499f4c0caeebd9d4e995958eb0 (patch) | |
tree | 3e62a6530f8b758dddab18981ee38cc76ecaef9e /framework/source | |
parent | 126e5a4d5b1d6c7ba5b313786793a38f99488b33 (diff) |
loplugin:unnecessaryparen include more assignments
Change-Id: I9fb8366634b31230b732dd38a98f800075529714
Reviewed-on: https://gerrit.libreoffice.org/64510
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/layoutmanager/toolbarlayoutmanager.cxx | 4 | ||||
-rw-r--r-- | framework/source/services/autorecovery.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx index 3cfcbe3b88fc..40e88154d7e3 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx @@ -2456,7 +2456,7 @@ void ToolbarLayoutManager::implts_calcWindowPosSizeOnSingleRowColumn( { if ( isHorizontalDockingArea( nDockingArea )) { - sal_Int32 nMaxReducation = ( rWinRect.Width - aMinSize.Width() ); + sal_Int32 nMaxReducation = rWinRect.Width - aMinSize.Width(); if ( nMaxReducation >= -nDiff ) { rWinRect.Width = rWinRect.Width + nDiff; @@ -2474,7 +2474,7 @@ void ToolbarLayoutManager::implts_calcWindowPosSizeOnSingleRowColumn( } else { - sal_Int32 nMaxReducation = ( rWinRect.Height - aMinSize.Height() ); + sal_Int32 nMaxReducation = rWinRect.Height - aMinSize.Height(); if ( nMaxReducation >= -nDiff ) { rWinRect.Height = rWinRect.Height + nDiff; diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index da6c33022c23..568c6ba0e6f6 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -4039,7 +4039,7 @@ bool AutoRecovery::impl_enoughDiscSpace(sal_Int32 nRequiredSpace) nFreeSpace = aInfo.getFreeSpace(); } - sal_uInt64 nFreeMB = (nFreeSpace/1048576); + sal_uInt64 nFreeMB = nFreeSpace/1048576; return (nFreeMB >= static_cast<sal_uInt64>(nRequiredSpace)); #endif // SIMULATE_FULL_DISC } |