backport CVS commit by tokoe:
backport CVS commit by tokoe:

Fixed crash mentioned in 87798

svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=344495

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