diff options
author | Juergen Funk <juergen.funk_ml@cib.de> | 2016-12-08 15:41:24 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-02-07 08:44:10 +0000 |
commit | f57424cc4c0dd68083c7935ce8a9b795625cf84c (patch) | |
tree | 266e0567eea3593bc682c23c92922c34f2ee7441 /vcl/source/app | |
parent | d8ccf8cf7a604cb1df04f23b5b5036fff1d4afdb (diff) |
tdf#104101 Improve the session management handling
- Set the current time to the SessionID
- Split the SetProperties-Data, and send
DeleteProperties for DiscardCommand
(above both topic is the same as kate and
plasma-desktop to do)
- in statusChange the saveDone was not called, and
call only once the saveDone
- in shutdownCanceled must be send the saveDone too
Change-Id: I42855c75b88b5d651ef8091947e359dc2c3f9209
Reviewed-on: https://gerrit.libreoffice.org/33215
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'vcl/source/app')
-rw-r--r-- | vcl/source/app/session.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/app/session.cxx b/vcl/source/app/session.cxx index fd8ef606bdd7..3d371dcefae4 100644 --- a/vcl/source/app/session.cxx +++ b/vcl/source/app/session.cxx @@ -359,7 +359,8 @@ void SAL_CALL VCLSession::saveDone( const css::uno::Reference< XSessionManagerLi } SAL_INFO("vcl.se.debug", " bSaveDone = " << (bSaveDone ? "true" : "false")); - if( bSaveDone ) + + if( bSaveDone && !m_bSaveDone ) { m_bSaveDone = true; if (m_xSession) |