fix crash due to incorrect porting from KDE 3.x (CID 1533)
fix crash due to incorrect porting from KDE 3.x (CID 1533)

svn path=/trunk/KDE/kdepim/; revision=534494

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