add calc threads assert to a thread-unsafe function

Change-Id: I36fcdf88c3e037b9db60f24cef3508aa9791bb35
This commit is contained in:
Luboš Luňák
2018-06-18 10:42:17 +02:00
parent b68805a896
commit fbe6fa330f

View File

@@ -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;