Kaydet (Commit) af94177d authored tarafından Jochen Nitschke's avatar Jochen Nitschke Kaydeden (comit) Noel Grandin

improve AttributeState compare operator

guess this was the original intention, else the nullptr checks
would be pointless

Change-Id: Ifb41b125c6d297c76c1d1b5c06c8f9f127b8e613
Reviewed-on: https://gerrit.libreoffice.org/53644Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst aea66f8a
......@@ -115,10 +115,10 @@ namespace frm
if ( !pItemHandleItem && _rRHS.pItemHandleItem )
return false;
if ( !pItemHandleItem && !_rRHS.pItemHandleItem )
if ( pItemHandleItem == _rRHS.pItemHandleItem )
return true;
return pItemHandleItem == _rRHS.pItemHandleItem;
return *pItemHandleItem == *_rRHS.pItemHandleItem;
}
class IMultiAttributeDispatcher
......
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