Kaydet (Commit) 820dff99 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1405737 (golden) Logically dead code

regression since

commit 46a153cb
Author: Chris Sherlock <chris.sherlock79@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/36851Reviewed-by: 's avatarChris Sherlock <chris.sherlock79@gmail.com>
Tested-by: 's avatarChris Sherlock <chris.sherlock79@gmail.com>

Change-Id: Id1a3f26a84c7641b0b6af71dc842a683d0c1dd0c
üst a15d8458
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment