summaryrefslogtreecommitdiff
path: root/sd
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 /sd
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 'sd')
-rw-r--r--sd/qa/unit/export-tests-ooxml1.cxx5
-rw-r--r--sd/qa/unit/export-tests.cxx12
2 files changed, 0 insertions, 17 deletions
diff --git a/sd/qa/unit/export-tests-ooxml1.cxx b/sd/qa/unit/export-tests-ooxml1.cxx
index 9bbcab21cbaa..0c0815a548ec 100644
--- a/sd/qa/unit/export-tests-ooxml1.cxx
+++ b/sd/qa/unit/export-tests-ooxml1.cxx
@@ -779,11 +779,6 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest1, testFdo79731)
CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest1, testTableCellFillProperties)
{
- std::shared_ptr<comphelper::ConfigurationChanges> batch(
- comphelper::ConfigurationChanges::create());
- officecfg::Office::Common::Cache::GraphicManager::TotalCacheSize::set(sal_Int32(1), batch);
- batch->commit();
-
// Load the original file
createSdImpressDoc("odp/Table_with_Cell_Fill.odp");
diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx
index 4be14483aad4..aee7e6724e32 100644
--- a/sd/qa/unit/export-tests.cxx
+++ b/sd/qa/unit/export-tests.cxx
@@ -428,12 +428,6 @@ CPPUNIT_TEST_FIXTURE(SdExportTest, testSwappedOutImageExport)
{
// Problem was with the swapped out images, which were not swapped in during export.
- // 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();
-
std::vector<OUString> vFormat{ "impress8", "Impress Office Open XML", "MS PowerPoint 97" };
for (size_t i = 0; i < vFormat.size(); i++)
@@ -742,12 +736,6 @@ CPPUNIT_TEST_FIXTURE(SdExportTest, testImageWithSpecialID)
// Check how LO handles when the imported graphic's ID is different from that one
// which is generated by LO.
- // 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();
-
std::vector<OUString> vFormat{ "impress8", "Impress Office Open XML", "MS PowerPoint 97" };
for (size_t i = 0; i < vFormat.size(); i++)
{