Fix casting following patch from pl- BUG: 140207
Fix casting following patch from pl-
BUG: 140207

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

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