[Libreoffice-commits] .: sc/source
Thomas Arnhold
tarnhold at kemper.freedesktop.org
Thu Feb 10 15:39:23 PST 2011
sc/source/ui/view/tabview2.cxx | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
New commits:
commit 111bb2fedafcb77163adf7895d29e61f0aae7041
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Thu Feb 10 20:22:31 2011 +0000
Remove indistinguishable branching
diff --git a/sc/source/ui/view/tabview2.cxx b/sc/source/ui/view/tabview2.cxx
index f445a6f..01d5d0e 100644
--- a/sc/source/ui/view/tabview2.cxx
+++ b/sc/source/ui/view/tabview2.cxx
@@ -893,18 +893,9 @@ void ScTabView::PaintBlock( BOOL bReset )
// Invertieren beim Loeschen nur auf aktiver View
if ( aViewData.IsActive() )
{
- if ( bMulti )
- {
- rMark.ResetMark();
- UpdateSelectionOverlay();
- bDidReset = TRUE;
- }
- else
- {
- rMark.ResetMark();
- UpdateSelectionOverlay();
- bDidReset = TRUE;
- }
+ rMark.ResetMark();
+ UpdateSelectionOverlay();
+ bDidReset = TRUE;
}
}
else
More information about the Libreoffice-commits
mailing list