Kaydet (Commit) fbe6fa33 authored tarafından Luboš Luňák's avatar Luboš Luňák

add calc threads assert to a thread-unsafe function

Change-Id: I36fcdf88c3e037b9db60f24cef3508aa9791bb35
üst b68805a8
...@@ -259,6 +259,7 @@ bool ScDocument::GetTable( const OUString& rName, SCTAB& rTab ) const ...@@ -259,6 +259,7 @@ bool ScDocument::GetTable( const OUString& rName, SCTAB& rTab ) const
OUString aUpperName; OUString aUpperName;
static OUString aCacheName, aCacheUpperName; static OUString aCacheName, aCacheUpperName;
assert(!IsThreadedGroupCalcInProgress());
if (aCacheName != rName) if (aCacheName != rName)
{ {
aCacheName = rName; aCacheName = rName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment