summaryrefslogtreecommitdiff
path: root/framework/source/accelerators/acceleratorconfiguration.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2009-04-14 14:41:49 +0000
committerOliver Bolte <obo@openoffice.org>2009-04-14 14:41:49 +0000
commit99d502ad2805064e4903d5ca2cb860cb89b94ffe (patch)
tree94bf42c751008d24cfa3bc1b5c04e0c372733859 /framework/source/accelerators/acceleratorconfiguration.cxx
parent8a23a26ce054984fb2c3d4cefbbd1deec6961b36 (diff)
CWS-TOOLING: integrate CWS fwk111
2009-04-06 22:23:30 +0200 mod r270574 : #i100374# 2009-04-06 14:33:48 +0200 cd r270547 : #i100718# Make sure write caches are created before calling impl_ts_save()
Diffstat (limited to 'framework/source/accelerators/acceleratorconfiguration.cxx')
-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);