diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-04-17 09:37:31 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-04-25 23:27:56 +0200 |
commit | 41f5c11c3b5f5b57f480dd809b850fe563b53691 (patch) | |
tree | df139718c1c5249de728e697b6aea74152874fe0 /sfx2 | |
parent | c67a0d0f7ddd8ababa3197d86998979c1ce725d0 (diff) |
vcl: change ErrorHandlerFlags to DialogMask
Change-Id: I1959ac97f679d8d719f851f9869962b39a20ded9
Reviewed-on: https://gerrit.libreoffice.org/36841
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 3ecd5272359c..68fc849b58ec 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -2256,7 +2256,7 @@ bool SfxObjectShell::ImportFrom(SfxMedium& rMedium, if (rWrapped.TargetException >>= e) { SetError(*new StringErrorInfo(ERRCODE_SFX_FORMAT_ROWCOL, - e.Message, ErrorHandlerFlags::ButtonsOk | ErrorHandlerFlags::MessageError )); + e.Message, DialogMask::ButtonsOk | DialogMask::MessageError )); } } catch (const std::exception& e) @@ -2264,7 +2264,7 @@ bool SfxObjectShell::ImportFrom(SfxMedium& rMedium, const char *msg = e.what(); OUString sError(msg, strlen(msg), RTL_TEXTENCODING_ASCII_US); SetError(*new StringErrorInfo(ERRCODE_SFX_DOLOADFAILED, - sError, ErrorHandlerFlags::ButtonsOk | ErrorHandlerFlags::MessageError)); + sError, DialogMask::ButtonsOk | DialogMask::MessageError)); } catch (...) { |