From fbe6fa330f8da3bc4c353d4e7adf85d1663ad7bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 18 Jun 2018 10:42:17 +0200 Subject: [PATCH] add calc threads assert to a thread-unsafe function Change-Id: I36fcdf88c3e037b9db60f24cef3508aa9791bb35 --- sc/source/core/data/document.cxx | 1 + 1 file changed, 1 insertion(+) 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;