RichText: Remove unused ref
assignment to RichText
#11222
Merged
ref
assignment to RichText
#11222