summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/richtext/rtattributes.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/forms/source/richtext/rtattributes.hxx b/forms/source/richtext/rtattributes.hxx
index b60ac6518562..fa00add450f4 100644
--- a/forms/source/richtext/rtattributes.hxx
+++ b/forms/source/richtext/rtattributes.hxx
@@ -112,6 +112,8 @@ namespace frm
if ( pItemHandleItem == _rRHS.pItemHandleItem )
return true;
+ assert(pItemHandleItem && _rRHS.pItemHandleItem && "otherwise have already returned");
+
return *pItemHandleItem == *_rRHS.pItemHandleItem;
}