diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-07 11:26:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-07 12:04:35 +0000 |
commit | 05e78bde26d8b8b257ed22a0ce20c5b386a629d1 (patch) | |
tree | bbcbccae5942edaf4557018cdb82b1b147f1d9cf /sfx2/source | |
parent | 7edbe6529825f562e2eab0b7c19c8c0883ea4fea (diff) |
create ErrorHandlerFlags scoped enum for error handling flags
Change-Id: I30c80979c87bad7bc98f36a158c31c88d80d1caf
Reviewed-on: https://gerrit.libreoffice.org/33991
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index b0c46878f158..4135b549b7de 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -2297,7 +2297,7 @@ bool SfxObjectShell::ImportFrom(SfxMedium& rMedium, if (rWrapped.TargetException >>= e) { SetError((new StringErrorInfo(ERRCODE_SFX_FORMAT_ROWCOL, - e.Message, ERRCODE_BUTTON_OK | ERRCODE_MSG_ERROR ))->GetErrorCode(), ""); + e.Message, ErrorHandlerFlags::ButtonsOk | ErrorHandlerFlags::MessageError ))->GetErrorCode(), ""); } } catch(...) |