diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-09-11 01:41:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-11 16:36:16 +0200 |
commit | e07e38f71c728630e993cbff5bc78c76fc02d692 (patch) | |
tree | 87ee4af2d80d0a5795e7ea64c65240f6de889e35 /sc | |
parent | ebf34ec31fb441d6226075a51f5f83ebf4668082 (diff) |
remove constant bool variable
had no meaning since introduced in
commit 11b5e05a827851e287315345bf563fda7e24d151
Date: Tue Nov 14 14:57:04 2006 +0000
INTEGRATION: CWS aw024 (1.26.134); FILE MERGED
Change-Id: Ia2de3d1af4e8aa1f73fd20592aa4d9664d6fbf74
Reviewed-on: https://gerrit.libreoffice.org/42169
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index 5ffe55505ddf..eb059ddd024a 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -1782,8 +1782,6 @@ void ScGridWindow::GetSelectionRects( ::std::vector< tools::Rectangle >& rPixelR PutInOrder( nX1, nX2 ); PutInOrder( nY1, nY2 ); - bool bRepeat = true; - SCCOL nTestX2 = nX2; SCROW nTestY2 = nY2; @@ -1912,7 +1910,7 @@ void ScGridWindow::GetSelectionRects( ::std::vector< tools::Rectangle >& rPixelR } } - if ( aMultiMark.IsCellMarked( nThisX, nThisY, true ) == bRepeat ) + if ( aMultiMark.IsCellMarked( nThisX, nThisY, true ) ) { if ( !pMergeFlag->IsOverlapped() ) { |