sc/source/ui/docshell/externalrefmgr.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit f7831ed5ca23d5b45cb5b6fb4955c0c572a32f39
Author: Kohei Yoshida <kohei.yosh...@suse.com>
Date:   Tue Nov 22 21:22:49 2011 -0500

    We should clear the cache of external doc when breaking its linkage.

diff --git a/sc/source/ui/docshell/externalrefmgr.cxx 
b/sc/source/ui/docshell/externalrefmgr.cxx
index cf3c561..99bb129 100644
--- a/sc/source/ui/docshell/externalrefmgr.cxx
+++ b/sc/source/ui/docshell/externalrefmgr.cxx
@@ -2465,6 +2465,7 @@ void ScExternalRefManager::breakLink(sal_uInt16 nFileId)
             removeRangeNamesBySrcDoc(*pRanges, nFileId);
     }
 
+    maRefCache.clearCache(nFileId);
     lcl_removeByFileId(nFileId, maDocShells);
 
     if (maDocShells.empty())
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to