summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/source/accelerators/acceleratorconfiguration.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx
index ea2b1208c0..a2b6a4063c 100644
--- a/framework/source/accelerators/acceleratorconfiguration.cxx
+++ b/framework/source/accelerators/acceleratorconfiguration.cxx
@@ -1065,10 +1065,14 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::store()
css::uno::Reference< css::container::XNameAccess > xAccess;
bPreferred = sal_True;
+ // on-demand creation of the primary write cache
+ impl_getCFG(bPreferred, sal_True);
m_xCfg->getByName(CFG_ENTRY_PRIMARY) >>= xAccess;
impl_ts_save(bPreferred, xAccess);
bPreferred = sal_False;
+ // on-demand creation of the secondary write cache
+ impl_getCFG(bPreferred, sal_True);
m_xCfg->getByName(CFG_ENTRY_SECONDARY) >>= xAccess;
impl_ts_save(bPreferred, xAccess);