sfx2/source/doc/objserv.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3b5ebf0866ca471c9a5944d96e1190887b58c8b8 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Oct 6 10:39:27 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Oct 6 13:22:28 2022 +0200 Resolves: tdf#150706 don't warn about user cancelling export Change-Id: Ibcc6efd8ae13d27aa66da57348efe5f06f67efb6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141008 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index 4434e3ca855b..9398787eb3bf 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -992,7 +992,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) } catch( const task::ErrorCodeIOException& aErrorEx ) { - TOOLS_WARN_EXCEPTION( "sfx.doc", "Fatal IO error during save"); + TOOLS_WARN_EXCEPTION_IF(ErrCode(aErrorEx.ErrCode) != ERRCODE_IO_ABORT, "sfx.doc", "Fatal IO error during save"); nErrorCode = ErrCode(aErrorEx.ErrCode); } catch( Exception& )