summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwsh5.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-01-29 14:51:47 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-01-29 14:51:47 +0000
commitaf5b743a5e30b11faadd1bd8cb8156f6f691a96d (patch)
treecff1ec1be5bc938489048ae424dce2a8e4c17e35 /sc/source/ui/view/tabvwsh5.cxx
parent76496ef780177f2d44cee0d9110963eebcadff30 (diff)
INTEGRATION: CWS dr58_SRC680 (1.11.188); FILE MERGED
2008/01/09 19:45:45 nn 1.11.188.1: #i84689# improve performance of repaint notifications from conditional formats
Diffstat (limited to 'sc/source/ui/view/tabvwsh5.cxx')
-rw-r--r--sc/source/ui/view/tabvwsh5.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwsh5.cxx b/sc/source/ui/view/tabvwsh5.cxx
index 48639893f135..d14ebc14fb65 100644
--- a/sc/source/ui/view/tabvwsh5.cxx
+++ b/sc/source/ui/view/tabvwsh5.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: tabvwsh5.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: vg $ $Date: 2007-02-27 13:58:42 $
+ * last change: $Author: rt $ $Date: 2008-01-29 15:51:47 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -182,6 +182,10 @@ void __EXPORT ScTabViewShell::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBC
InvertBlockMark( pHint->GetStartCol(), pHint->GetStartRow(),
pHint->GetEndCol(), pHint->GetEndRow() );
+ // #i84689# call UpdateAllOverlays here instead of in ScTabView::PaintArea
+ if (nParts & ( PAINT_LEFT | PAINT_TOP )) // only if widths or heights changed
+ UpdateAllOverlays();
+
HideNoteMarker();
}
}