vcl/source/window/errinf.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 820dff991b119b2cafb5efe5f1a4668351705457 Author: Caolán McNamara <caol...@redhat.com> Date: Sun Apr 30 15:47:54 2017 +0100 coverity#1405737 (golden) Logically dead code regression since commit 46a153cbcac1a3e2881b83b5537037321c34797c Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Sun Apr 23 18:53:58 2017 +1000 vcl: update error codes to defined constants for code clarity Change-Id: I6e86c45b71fc15d6645501128e7d86f8e179e652 Reviewed-on: https://gerrit.libreoffice.org/36851 Reviewed-by: Chris Sherlock <chris.sherloc...@gmail.com> Tested-by: Chris Sherlock <chris.sherloc...@gmail.com> Change-Id: Id1a3f26a84c7641b0b6af71dc842a683d0c1dd0c diff --git a/vcl/source/window/errinf.cxx b/vcl/source/window/errinf.cxx index 7080cb013c04..06b004b6e2fd 100644 --- a/vcl/source/window/errinf.cxx +++ b/vcl/source/window/errinf.cxx @@ -114,7 +114,7 @@ bool ErrorHandler::GetErrorString(sal_uInt32 nErrCodeId, OUString& rErrStr) DialogMask ErrorHandler::HandleError(sal_uInt32 nErrCodeId, DialogMask nFlags) { - if(nErrCodeId != ERRCODE_NONE || nErrCodeId == ERRCODE_ABORT) + if (nErrCodeId == ERRCODE_NONE || nErrCodeId == ERRCODE_ABORT) return DialogMask::NONE; ErrorRegistry &rData = TheErrorRegistry::get();
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits