summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2023-04-25 09:56:11 +0200
committerThorsten Behrens <thorsten.behrens@allotropia.de>2023-05-02 21:13:10 +0200
commit8bcf321d549799e530c81f22ff90096668442a96 (patch)
tree8870d9d8bc0831391c49e1c9fd73c57203eb12d1 /sc/qa
parent5dc7f2f2c6bb1ab9ec29696adbfc9f0506b22e0b (diff)
[API CHANGE] Drop TotalCacheSize ObjectCacheSize ObjectReleaseTime config keys
Obsoleted by 2018 commit c6cf2320d2a464594e759289c34796538d31f02b Change-Id: Ifc83b8dae06ef84d2ae276c18a395185db330cc0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150964 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/subsequent_export_test3.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/sc/qa/unit/subsequent_export_test3.cxx b/sc/qa/unit/subsequent_export_test3.cxx
index b1ce4c1a6125..ff8a27727a1b 100644
--- a/sc/qa/unit/subsequent_export_test3.cxx
+++ b/sc/qa/unit/subsequent_export_test3.cxx
@@ -1024,12 +1024,6 @@ CPPUNIT_TEST_FIXTURE(ScExportTest3, testSwappedOutImageExport)
{
std::vector<OUString> aFilterNames{ "calc8", "MS Excel 97", "Calc Office Open XML" };
- // Set cache size to a very small value to make sure one of the images is swapped out
- std::shared_ptr<comphelper::ConfigurationChanges> xBatch(
- comphelper::ConfigurationChanges::create());
- officecfg::Office::Common::Cache::GraphicManager::TotalCacheSize::set(sal_Int32(1), xBatch);
- xBatch->commit();
-
for (size_t i = 0; i < aFilterNames.size(); ++i)
{
// Check whether the export code swaps in the image which was swapped out before.
@@ -1150,12 +1144,6 @@ CPPUNIT_TEST_FIXTURE(ScExportTest3, testImageWithSpecialID)
{
std::vector<OUString> aFilterNames{ "calc8", "MS Excel 97", "Calc Office Open XML" };
- // Trigger swap out mechanism to test swapped state factor too.
- std::shared_ptr<comphelper::ConfigurationChanges> batch(
- comphelper::ConfigurationChanges::create());
- officecfg::Office::Common::Cache::GraphicManager::TotalCacheSize::set(sal_Int32(1), batch);
- batch->commit();
-
for (size_t i = 0; i < aFilterNames.size(); ++i)
{
createScDoc("ods/images_with_special_IDs.ods");