diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-14 17:11:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-16 11:51:20 +0200 |
commit | 899fbd617b32771bc8c14effc52a7153465adf5d (patch) | |
tree | da6d86dce1b658796abaaa4dad90563d25d7d9ec /sc/source/ui/view | |
parent | fbba9324c7df5f459dfe10795021ad3bf77da423 (diff) |
loplugin:returnconstant in ScOutlineDocFunc
Change-Id: I036a860bd861f0fa1136d242a5e042c5c56d4226
Reviewed-on: https://gerrit.libreoffice.org/59125
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/dbfunc3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx index 008d57eb9f49..f5b1e6b9d670 100644 --- a/sc/source/ui/view/dbfunc3.cxx +++ b/sc/source/ui/view/dbfunc3.cxx @@ -253,9 +253,9 @@ void ScDBFunc::ShowOutline( bool bColumns, sal_uInt16 nLevel, sal_uInt16 nEntry, ScDocShell* pDocSh = GetViewData().GetDocShell(); ScOutlineDocFunc aFunc(*pDocSh); - bool bOk = aFunc.ShowOutline( nTab, bColumns, nLevel, nEntry, bRecord, bPaint ); + aFunc.ShowOutline( nTab, bColumns, nLevel, nEntry, bRecord, bPaint ); - if ( bOk && bPaint ) + if ( bPaint ) UpdateScrollBars(bColumns ? COLUMN_HEADER : ROW_HEADER); } |