summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/arealink.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2001-07-06 11:36:59 +0000
committerNiklas Nebel <nn@openoffice.org>2001-07-06 11:36:59 +0000
commit6da510b54d20d87c3ec13795ce0815161db18d50 (patch)
tree934261e328e404880ff88bdedf5738382fe9373a /sc/source/ui/docshell/arealink.cxx
parenta16cfde2b03dbe0ff02ffedb2f87a2bb31498485 (diff)
#88764# Refresh: also update refresh delay value
Diffstat (limited to 'sc/source/ui/docshell/arealink.cxx')
-rw-r--r--sc/source/ui/docshell/arealink.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/arealink.cxx b/sc/source/ui/docshell/arealink.cxx
index 0d6aaf3ae3e6..89e4a513aa14 100644
--- a/sc/source/ui/docshell/arealink.cxx
+++ b/sc/source/ui/docshell/arealink.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: arealink.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: nn $ $Date: 2001-06-22 19:55:20 $
+ * last change: $Author: nn $ $Date: 2001-07-06 12:36:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -462,6 +462,9 @@ BOOL ScAreaLink::Refresh( const String& rNewFile, const String& rNewFilter,
if ( aNewRange != aDestArea )
aDestArea = aNewRange;
+ if ( nNewRefresh != GetRefreshDelay() )
+ SetRefreshDelay( nNewRefresh );
+
USHORT nPaintEndX = Max( aOldRange.aEnd.Col(), aNewRange.aEnd.Col() );
USHORT nPaintEndY = Max( aOldRange.aEnd.Row(), aNewRange.aEnd.Row() );