diff options
author | Eike Rathke <erack@redhat.com> | 2011-11-24 23:36:57 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2011-11-25 01:01:16 +0100 |
commit | 871b87f9d3787967bfe1ff9dd9314d7b2a0f19c3 (patch) | |
tree | f68cf2ee5abf529c95240af8dfad80110e5934cd /sc | |
parent | a70f7bfc5ee22aa54c98cb8aab69b5eb97a86bbd (diff) |
calc69: #i117893# call GetSizePixel before setting bIsInPaint
# Original author: Niklas Nebel <nn@openoffice.org>
* found as LGPLv3-only fix at svn rev 1172136 (http://svn.apache.org/viewvc?view=revision&revision=1172136)
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index e1d582c59daf..1f82d64e0c53 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -342,6 +342,10 @@ void ScGridWindow::Paint( const Rectangle& rRect ) return; } + // #i117893# If GetSizePixel needs to call the resize handler, the resulting nested Paint call + // (possibly for a larger rectangle) has to be allowed. Call GetSizePixel before setting bIsInPaint. + GetSizePixel(); + if (bIsInPaint) return; |