Don't crash when no output device is given.
Don't crash when no output device is given.

svn path=/branches/work/kdab-post-4.0/kdepim/; revision=713519

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