[Libreoffice-commits] core.git: sc/source
Luboš Luňák
l.lunak at collabora.com
Mon Jun 18 08:43:47 UTC 2018
sc/source/core/data/document.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit fbe6fa330f8da3bc4c353d4e7adf85d1663ad7bc
Author: Luboš Luňák <l.lunak at collabora.com>
Date: Mon Jun 18 10:42:17 2018 +0200
add calc threads assert to a thread-unsafe function
Change-Id: I36fcdf88c3e037b9db60f24cef3508aa9791bb35
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 411e71127e38..fb9ec32f3649 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -259,6 +259,7 @@ bool ScDocument::GetTable( const OUString& rName, SCTAB& rTab ) const
OUString aUpperName;
static OUString aCacheName, aCacheUpperName;
+ assert(!IsThreadedGroupCalcInProgress());
if (aCacheName != rName)
{
aCacheName = rName;
More information about the Libreoffice-commits
mailing list