summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-09-12 11:22:14 +0300
committerTor Lillqvist <tml@collabora.com>2017-09-12 11:23:15 +0300
commita2fd57ea3ee6c9365efc8b4d99ff543009d02245 (patch)
treef439de151e1dc99bd32a910481d6b504d1842c15
parent-Werror,-Wunused-private-field (diff)
downloadcore-a2fd57ea3ee6c9365efc8b4d99ff543009d02245.tar.gz
core-a2fd57ea3ee6c9365efc8b4d99ff543009d02245.zip
Revert "Make two slightly mysterious static local variables thread_local"
There still is at least one tinderbox Mac with an obsolete Xcode. This reverts commit 2652ce62f2ed4259e95578bc24af52fc48f197d5.
-rw-r--r--sc/source/core/data/formulacell.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 22ef81ca2495..82c5f970e911 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -2658,8 +2658,8 @@ sc::MatrixEdge ScFormulaCell::GetMatrixEdge( ScAddress& rOrgPos ) const
case ScMatrixMode::Formula :
case ScMatrixMode::Reference :
{
- static thread_local SCCOL nC;
- static thread_local SCROW nR;
+ static SCCOL nC;
+ static SCROW nR;
ScAddress aOrg;
if ( !GetMatrixOrigin( aOrg ) )
return sc::MatrixEdge::Nothing;