Fix possible crash
Fix possible crash

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

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