diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-08-12 17:10:19 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-08-12 18:09:28 +0200 |
commit | 5059000f219c2709616bf1f919ca8e99a56e3054 (patch) | |
tree | baeca041cc9a690b4e01e2a4c5fb05857da1476a /vcl | |
parent | 18b3edcfbd9c47efc6b29feb6a77a5a89bc9cd25 (diff) |
OSL_FAIL->SAL_WARN + display errcode (vcl/errinf)
Change-Id: I59afb67fb160319e73adf2e5874e6f1825a3879d
Reviewed-on: https://gerrit.libreoffice.org/41089
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/errinf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/errinf.cxx b/vcl/source/window/errinf.cxx index 8eba53584b5c..0eb4c0160e8c 100644 --- a/vcl/source/window/errinf.cxx +++ b/vcl/source/window/errinf.cxx @@ -174,7 +174,7 @@ DialogMask ErrorHandler::HandleError(ErrCode nErrCodeId, DialogMask nFlags) } } - OSL_FAIL("Error not handled"); + SAL_WARN( "vcl", "Error not handled " << pInfo->GetErrorCode()); // Error 1 (ERRCODE_ABORT) is classified as a General Error in sfx if (pInfo->GetErrorCode() != ERRCODE_ABORT) HandleError(ERRCODE_ABORT); |