diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-01-25 10:07:58 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-01-25 10:07:58 +0000 |
commit | 7daf598764ac9e0cd280ffd720231a4d32ef59ca (patch) | |
tree | c2a88d36ecb1f90c5cdfc19e4ad26f658bf9b2c8 /sc/source/ui/view/tabview3.cxx | |
parent | 841cc4232cc98cf0566c3a37b58186d2631c78f4 (diff) |
INTEGRATION: CWS calc41 (1.50.20); FILE MERGED
2007/01/17 15:18:41 nn 1.50.20.1: #i73567# KillEditView: Draw() is still needed
Diffstat (limited to 'sc/source/ui/view/tabview3.cxx')
-rw-r--r-- | sc/source/ui/view/tabview3.cxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx index d42202454c47..81995e60d618 100644 --- a/sc/source/ui/view/tabview3.cxx +++ b/sc/source/ui/view/tabview3.cxx @@ -4,9 +4,9 @@ * * $RCSfile: tabview3.cxx,v $ * - * $Revision: 1.50 $ + * $Revision: 1.51 $ * - * last change: $Author: kz $ $Date: 2006-12-12 16:09:26 $ + * last change: $Author: obo $ $Date: 2007-01-25 11:07:58 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1851,13 +1851,14 @@ void ScTabView::KillEditView( BOOL bNoPaint ) { pGridWin[i]->ShowCursor(); - // simplify refresh due to overlay objects - just set MapMode pGridWin[i]->SetMapMode(pGridWin[i]->GetDrawMapMode()); - //if (bExtended || ( bAtCursor && !bNoPaint )) - // pGridWin[i]->Draw( nCol1, nRow1, nCol2, nRow2 ); - //else - // pGridWin[i]->SetMapMode(pGridWin[i]->GetDrawMapMode()); + // #i73567# the cell still has to be repainted + if (bExtended || ( bAtCursor && !bNoPaint )) + { + pGridWin[i]->Draw( nCol1, nRow1, nCol2, nRow2 ); + pGridWin[i]->UpdateSelectionOverlay(); + } } if (pDrawView) |