diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-01-12 23:32:12 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-01-12 23:32:12 +0100 |
commit | 923e15dd7d61770613e0d7c5c2a15695c95b606c (patch) | |
tree | 62ea91e39275cbbdef232057b602ee0de04d198e /wizards | |
parent | 5a86dd4ef5d2241b2ed179c490d8d62b4817b373 (diff) |
autorecovery: initial implementation of a new save/recovery for database documents
For the moment, the document only stores and loads itself, as before.
In this course, the AutoRecovery service now delegates the decision whether or not a document
needs to be stored (to the "salvage location") to the document itself, using the new method
XDocumentRecovery::wasModifiedSinceLastSave, superseded the previous E_MODIFIED_SINCE_LAST_AUTOSAVE
flag.
XDocumentRecovery::wasModifiedSinceLastSave has been implemented for SfxBaseModel, yielding the same
behavior as before.
It has also been implemented for database documents, where the implementation is somewhat "sloppy",
in that it returns always <TRUE/> when any of the opened sub components of the document is modified.
Diffstat (limited to 'wizards')
0 files changed, 0 insertions, 0 deletions