[Libreoffice-commits] core.git: sc/source
Tor Lillqvist
tml at collabora.com
Tue Sep 12 08:23:39 UTC 2017
sc/source/core/data/formulacell.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a2fd57ea3ee6c9365efc8b4d99ff543009d02245
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Sep 12 11:22:14 2017 +0300
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.
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;
More information about the Libreoffice-commits
mailing list