summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-11-20 15:13:11 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-11-20 15:13:11 +0000
commit0de3b2634cdf52371b8b7bbe74368cf5fa61bff9 (patch)
treeac3af113505f477a4d231e764a092e64f6e34d03 /framework
parentaaa1f41c6735f4e2d4da401a0ec2c8e85f5935e0 (diff)
CWS-TOOLING: integrate CWS buildid301_DEV300
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/autorecovery.cxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 9aa997d501..f6841a7e0f 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -2968,6 +2968,14 @@ void AutoRecovery::implts_doSessionSave(const DispatchParams& aParams)
{
LOG_RECOVERY("AutoRecovery::implts_doSessionSave()")
+ // try to make sure next time office will be started user wont be
+ // notified about any other might be running office instance
+ // remove ".lock" file from disc !
+ // it is done as a first action for session save since Gnome sessions
+ // do not provide enough time for shutdown, and the dialog looks to be
+ // confusing for the user
+ AutoRecovery::st_impl_removeLockFile();
+
// Be sure to know all open documents realy .-)
implts_verifyCacheAgainstDesktopDocumentList();
@@ -3010,11 +3018,6 @@ void AutoRecovery::implts_doSessionSave(const DispatchParams& aParams)
// flush config cached back to disc.
impl_flushALLConfigChanges();
-
- // try to make sure next time office will be started user wont be
- // notified about any other might be running office instance
- // remove ".lock" file from disc !
- AutoRecovery::st_impl_removeLockFile();
}
//-----------------------------------------------