coverity: protect against self-assignment
coverity: protect against self-assignment

sdteffen/libvisio,sdteffen/libvisio,LibreOffice/libvisio,LibreOffice/libvisio,sdteffen/libvisio,LibreOffice/libvisio,sdteffen/libvisio