summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox/datwin.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-11-17 14:02:06 +0000
committerOliver Bolte <obo@openoffice.org>2004-11-17 14:02:06 +0000
commitbf87abca26376c0af81ee8eef4658996e1d71dd1 (patch)
tree5da5ae2175f98acfec10b5a00a06cee49c060a04 /svtools/source/brwbox/datwin.cxx
parente31c755820318bc63dac6de7a0912e05a17163ff (diff)
INTEGRATION: CWS dba18 (1.14.148); FILE MERGED
2004/10/13 12:59:31 oj 1.14.148.1: #i34532# handle in paint calls
Diffstat (limited to 'svtools/source/brwbox/datwin.cxx')
-rw-r--r--svtools/source/brwbox/datwin.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx
index 64392c9accaf..63baf6567a13 100644
--- a/svtools/source/brwbox/datwin.cxx
+++ b/svtools/source/brwbox/datwin.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: datwin.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: pjunck $ $Date: 2004-10-22 12:32:34 $
+ * last change: $Author: obo $ $Date: 2004-11-17 15:02:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -341,9 +341,15 @@ void BrowserDataWin::Paint( const Rectangle& rRect )
{
if ( !nUpdateLock && GetUpdateMode() )
{
+ if ( bInPaint )
+ {
+ aInvalidRegion.Insert( new Rectangle( rRect ) );
+ return;
+ }
bInPaint = TRUE;
( (BrowseBox*) GetParent() )->PaintData( *this, rRect );
bInPaint = FALSE;
+ DoOutstandingInvalidations();
}
else
aInvalidRegion.Insert( new Rectangle( rRect ) );