Users typically don't recognize that changes done to a cell need to be committed (typically by hitting RETURN) before they are saved to file. This is especially true on the web.
This patch commits any in-flight changes before SaveAs. This is currently done only for LOK and unconditionally at that. This can be controlled
via a flag, if there is such a use-case.
9b3c7c812995 sc: LOK: commit cell edits before saveas
desktop/qa/desktop_lib/test_desktop_lib.cxx | 61 +++++++++++++++++++++++++----
include/sfx2/objsh.hxx | 2 +
sc/source/ui/docshell/docsh.cxx | 6 +++
sc/source/ui/inc/docsh.hxx | 2 +
sfx2/source/doc/objserv.cxx | 1 -
sfx2/source/doc/objstor.cxx | 7 ++++
6 files changed, 71 insertions(+), 8 deletions(-)