A capital gain or loss normally only occurs when a property is actually sold. However, there are instances where a property may be deemed to be sold. That is, you must treat the situation as if you have actually sold the asset. Types of deemed dispositions:
1. Securities are transferred from a non-registered investment account into a registered retirement savings plan (RRSP), registered disability savings account (RDSP), tax-free savings account (TFSA), or registered retirement income fund (RRIF). In this case, the deemed proceeds will be the market value of the securities at the time of transfer to the registered account. Note that if a loss has occurred in the transfer to an RRSP, RDSP, TFSA or RRIF, it will not be deductible for tax purposes.
2. Property is gifted to a third party. In this case, the property is deemed to have been sold at its fair market value at that time.
3. Use of property changes from personal use to business or investment use, or vice versa. Again, the property is deemed to have been sold at its fair market value. (...)
http://www.taxtips.ca/glossary.htm