summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorRelease Engineers <releng@openoffice.org>2009-05-07 13:54:35 +0000
committerRelease Engineers <releng@openoffice.org>2009-05-07 13:54:35 +0000
commit55f62708c2df0b64a2806fe82a1f9c3549a1f38f (patch)
tree06be78de64ede5d9df82db608cc81f2f3df1c576 /framework
parente5bdc36004e9b1bbbbc23df652372d8c751cf9ef (diff)
CWS-TOOLING: integrate CWS fwk111_DEV300
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')
-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 fe853f6c7c..20488d8145 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);