[Libreoffice-commits] .: sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Nov 22 18:23:53 PST 2011


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

New commits:
commit f7831ed5ca23d5b45cb5b6fb4955c0c572a32f39
Author: Kohei Yoshida <kohei.yoshida at 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())


More information about the Libreoffice-commits mailing list