# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This file incorporates work covered by the following license notice: # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed # with this work for additional information regarding copyright # ownership. The ASF licenses this file to you under the Apache # License, Version 2.0 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.apache.org/licenses/LICENSE-2.0 . # $(eval $(call gb_JunitTest_JunitTest,sot_complex)) $(eval $(call gb_JunitTest_add_sourcefiles,sot_complex,\ sot/qa/complex/olesimplestorage/OLESimpleStorageTest \ sot/qa/complex/olesimplestorage/OLESimpleStorageUnitTest \ sot/qa/complex/olesimplestorage/Test01 \ sot/qa/complex/olesimplestorage/TestHelper \ )) $(eval $(call gb_JunitTest_use_unoapi_jars,sot_complex)) $(eval $(call gb_JunitTest_add_classes,sot_complex,\ complex.olesimplestorage.OLESimpleStorageUnitTest \ )) # vim: set noet sw=4 ts=4: 5-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sc/inc/formulagroup.hxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2018-06-19 12:16:38 +0200
committerMichael Meeks <michael.meeks@collabora.com>2018-06-21 10:31:23 +0200
commit954403938f00645d92520efc4433c440a133c0b9 (patch)
treee7e83437f9a55fc846bb546296f472c3e41aa289 /sc/inc/formulagroup.hxx
parentf46f871f3170eb0d5a6522b7425c2390b601df5a (diff)
discard cached cell values if the cell changes
FormulaGroupContext is actually a cache of cell results for OpenCL, but the cached values are not always properly discarded. Happens e.g. with testFormulaDepTracking in sc_ucalc fails if OpenCL is forced for it (i.e. with mnOpenCLMinimumFormulaGroupSize disabled), because a SetString() call for a cell doesn't invalidate the cache. This obviously reduces the cache hit rate a bit, but according to my tests it's not that bad (in fact the cache doesn't seem to get used that often, so I even wonder if it's worth it). Change-Id: Ia7ef2214956861d26ca3a42b84f9fecbff8316d0 Reviewed-on: https://gerrit.libreoffice.org/56087 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>