summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/arealink.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2009-10-21 08:34:25 +0000
committerNiklas Nebel <nn@openoffice.org>2009-10-21 08:34:25 +0000
commit9634b3fc0d9343ef1876be00fb29db78a0d7fed3 (patch)
tree1bcc0d2e72e27130be7d31f03ce5cfe41daac193 /sc/source/ui/docshell/arealink.cxx
parent2f3859b83ef6c8d26e705ca519f1250a7973de3d (diff)
#i106045# invalidate stream positions for sheet operations, better handling of loaded formula results
Diffstat (limited to 'sc/source/ui/docshell/arealink.cxx')
-rw-r--r--sc/source/ui/docshell/arealink.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/arealink.cxx b/sc/source/ui/docshell/arealink.cxx
index fd3a562ecb42..fa00559b4f27 100644
--- a/sc/source/ui/docshell/arealink.cxx
+++ b/sc/source/ui/docshell/arealink.cxx
@@ -172,6 +172,10 @@ void __EXPORT ScAreaLink::Closed()
bAddUndo = FALSE; // nur einmal
}
+ SCTAB nDestTab = aDestArea.aStart.Tab();
+ if (pDoc->IsStreamValid(nDestTab))
+ pDoc->SetStreamValid(nDestTab, FALSE);
+
SvBaseLink::Closed();
}