diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-07-10 13:10:33 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-07-10 13:10:33 +0000 |
commit | 9ff20a6dd99b560af4076158b2a33d61e6f8c42d (patch) | |
tree | 1f4db83e8597c18b537b2dc251451e1498d23d4d /sc/source/ui/view/gridwin.cxx | |
parent | 4e06a843ef14941dc32a2a747d2100dbac26be1a (diff) |
INTEGRATION: CWS dr48 (1.74.86); FILE MERGED
2006/06/02 10:27:45 nn 1.74.86.2: RESYNC: (1.74-1.75); FILE MERGED
2006/05/10 15:27:13 nn 1.74.86.1: #i57745# HideCursor: draw before setting the variable
Diffstat (limited to 'sc/source/ui/view/gridwin.cxx')
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 8b43a30a80b9..78288b9d0ea6 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -4,9 +4,9 @@ * * $RCSfile: gridwin.cxx,v $ * - * $Revision: 1.75 $ + * $Revision: 1.76 $ * - * last change: $Author: vg $ $Date: 2006-05-16 08:20:25 $ + * last change: $Author: obo $ $Date: 2006-07-10 14:10:33 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -4211,12 +4211,15 @@ void ScGridWindow::ShowCursor() return; } - --nCursorHideCount; - if (nCursorHideCount==0) + if (nCursorHideCount==1) { + // #i57745# Draw the cursor before setting the variable, in case the + // GetSizePixel call from drawing causes a repaint (resize handler is called) DrawAutoFillMark(); DrawCursor(); } + + --nCursorHideCount; } void __EXPORT ScGridWindow::GetFocus() |