Backport of revision 859714, 859717 by Kevin Krammer
Backport of revision 859714, 859717 by Kevin Krammer

Always check for self assignment in operator=(), especially when clearing things prior to copying or when juggling pointers

svn path=/branches/KDE/3.5/kdepim/; revision=860376

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi