[Libreoffice-commits] core.git: vcl/source

Julien Nabet serval2412 at yahoo.fr
Sat Aug 12 16:10:41 UTC 2017


 vcl/source/window/errinf.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5059000f219c2709616bf1f919ca8e99a56e3054
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Aug 12 17:10:19 2017 +0200

    OSL_FAIL->SAL_WARN + display errcode (vcl/errinf)
    
    Change-Id: I59afb67fb160319e73adf2e5874e6f1825a3879d
    Reviewed-on: https://gerrit.libreoffice.org/41089
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

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);


More information about the Libreoffice-commits mailing list