sc/source/core/tool/interpr1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 81356e787354e11243c76b63dcca185068b5d12a Author: Tor Lillqvist <t...@collabora.com> Date: Thu Jun 29 16:32:06 2017 +0300 ScGlobal already caches the global collator A separate static here is fairly pointless. Change-Id: Ie498e80ad908953f4e86a76ff8f0c13c7672b8f5 diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 7fda5c2cca81..c69f16034dbd 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -6964,7 +6964,7 @@ void ScInterpreter::CalculateLookup(bool bHLookup) svl::SharedString aParamStr = rItem.maString; if ( bSorted ) { - static CollatorWrapper* pCollator = ScGlobal::GetCollator(); + CollatorWrapper* pCollator = ScGlobal::GetCollator(); for (SCSIZE i = 0; i < nMatCount; i++) { if (bHLookup ? pMat->IsString(i, 0) : pMat->IsString(0, i)) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits