summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--forms/source/richtext/rtattributes.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/richtext/rtattributes.hxx b/forms/source/richtext/rtattributes.hxx
index a47c5e22abd3..6f79286f653f 100644
--- a/forms/source/richtext/rtattributes.hxx
+++ b/forms/source/richtext/rtattributes.hxx
@@ -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