From 5d99890f9df292642dfe93a961c3e4d449e3eb16 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 27 Jan 2014 09:59:14 +0000 Subject: coverity#704132 Operands don't affect result Change-Id: Ib2cf15d31231ff02645faae9d4a984112e5af795 --- uui/source/iahndl-errorhandler.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'uui') diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx index 136f5fbb67b4..6d65d66d8660 100644 --- a/uui/source/iahndl-errorhandler.cxx +++ b/uui/source/iahndl-errorhandler.cxx @@ -75,9 +75,9 @@ executeErrorDialog( break; case task::InteractionClassification_INFO: - if ((nButtonMask & 0x01F00000) == WB_DEF_OK) - //TODO! missing win bit button mask define (want to ignore - // any default button settings)... +# define WB_DEF_BUTTONS (WB_DEF_OK | WB_DEF_CANCEL | WB_DEF_RETRY) + //(want to ignore any default button settings)... + if ((nButtonMask & WB_DEF_BUTTONS) == WB_DEF_OK) xBox.reset(new InfoBox(pParent, aText.makeStringAndClear())); else -- cgit