forward port SVN commit 641767 by dfaure:
forward port SVN commit 641767 by dfaure:

Proper DwString -> ByteArray conversion, no trailing nul.


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

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