summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-10-19 09:47:40 +0200
committersb <sb@openoffice.org>2010-10-19 09:47:40 +0200
commit8fd8aa2ef70af72e2c3bdf114185adf8d3c73498 (patch)
treeed45081e481791c8f7d498f7657d392ec915f849 /desktop
parent7f64aa4d3d2fc53d0e1fa2b0ad7cdba5e76648b3 (diff)
sb134: #i114705# call FlushConfiguration only after all modifications have been made
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index e77c1dcf48ac..cf5997ea3722 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -785,7 +785,6 @@ BOOL Desktop::QueryExit()
{
RTL_LOGFILE_CONTEXT_TRACE( aLog, "<- store config items" );
utl::ConfigManager::GetConfigManager()->StoreConfigItems();
- FlushConfiguration();
RTL_LOGFILE_CONTEXT_TRACE( aLog, "<- store config items" );
}
catch ( RuntimeException& )
@@ -817,6 +816,7 @@ BOOL Desktop::QueryExit()
}
else
{
+ FlushConfiguration();
try
{
// it is no problem to call DisableOfficeIPCThread() more than once