forward port SVN commit 493201 by alund:
forward port SVN commit 493201 by alund:

correctly return true if a digest could be created

svn path=/trunk/KDE/kdelibs/kate/; revision=535536

hlamer/kate,hlamer/kate,DickJ/kate,hlamer/kate,hlamer/kate,DickJ/kate,hlamer/kate,cmacq2/kate,sandsmark/kate,hlamer/kate,hlamer/kate,cmacq2/kate,sandsmark/kate,hlamer/kate,jfmcarreira/kate,hlamer/kate,sandsmark/kate,hlamer/kate,jfmcarreira/kate,jfmcarreira/kate,sandsmark/kate,DickJ/kate,cmacq2/kate,DickJ/kate