[Libreoffice-commits] core.git: sc/source
Tor Lillqvist
tml at collabora.com
Thu Jun 29 13:39:41 UTC 2017
sc/source/core/tool/interpr1.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 81356e787354e11243c76b63dcca185068b5d12a
Author: Tor Lillqvist <tml at 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))
More information about the Libreoffice-commits
mailing list