Fix two small issues: * Don't go through the whole lock procedure when the file is already locked. * Set the initial file size to the right value after a save.
Fix two small issues:
* Don't go through the whole lock procedure when the file is already locked.
* Set the initial file size to the right value after a save.

svn path=/branches/work/akonadi-ports/kdepim/; revision=1037049

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