diff options
Diffstat (limited to 'framework/source/accelerators/documentacceleratorconfiguration.cxx')
-rw-r--r-- | framework/source/accelerators/documentacceleratorconfiguration.cxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/framework/source/accelerators/documentacceleratorconfiguration.cxx b/framework/source/accelerators/documentacceleratorconfiguration.cxx index 5794c0e9c30e..d9b05459fe85 100644 --- a/framework/source/accelerators/documentacceleratorconfiguration.cxx +++ b/framework/source/accelerators/documentacceleratorconfiguration.cxx @@ -99,12 +99,6 @@ public: /** read all data into the cache. */ void fillCache(); - -private: - - /** forget all currently cached data AND(!) - forget all currently used storages. */ - void clearCache(); }; DocumentAcceleratorConfiguration::DocumentAcceleratorConfiguration( @@ -147,7 +141,8 @@ void SAL_CALL DocumentAcceleratorConfiguration::setStorage(const css::uno::Refer } if (bForgetOldStorages) - clearCache(); + /* forget all currently cached data AND(!) forget all currently used storages. */ + m_aPresetHandler.forgetCachedStorages(); if (xStorage.is()) fillCache(); @@ -200,11 +195,6 @@ void DocumentAcceleratorConfiguration::fillCache() {} } -void DocumentAcceleratorConfiguration::clearCache() -{ - m_aPresetHandler.forgetCachedStorages(); -} - } // namespace framework extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL |