cppcheck: fix '<type>::operator=' should return '<type> &'.

See http://nabble.documentfoundation.org/About-quot-assignment-operators-quot-cppcheck-warning-td4081208.html

Change-Id: Ie351058a30c5d2df5f5ec1327c575e129d022cd2