diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-25 10:34:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-26 12:15:53 +0200 |
commit | 93bf0b1ba11c7710f80a7773eaf0b5ca816d82a7 (patch) | |
tree | 13245a24edfa1aab9bc52c2f1f4ef44ae448a2c8 /svx/source/fmcomp/gridctrl.cxx | |
parent | ca865af23656f52008713709b3efee0e151d0303 (diff) |
clang-tidy readability-simplify-boolean-expr in svx
Change-Id: I5190e453edd9fc2eda57f730834567e8e214ff16
Reviewed-on: https://gerrit.libreoffice.org/36931
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/fmcomp/gridctrl.cxx')
-rw-r--r-- | svx/source/fmcomp/gridctrl.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 8b72c13e6f86..13e1618b4385 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -2068,10 +2068,7 @@ bool DbGridControl::CursorMoving(long nNewRow, sal_uInt16 nNewCol) return false; } - if ( !EditBrowseBox::CursorMoving( nNewRow, nNewCol ) ) - return false; - - return true; + return EditBrowseBox::CursorMoving( nNewRow, nNewCol ); } bool DbGridControl::SetCurrent(long nNewRow) |