Check for locking in tryToUnlockDocument:, avoid one unnecessary call of this method, small code changes
Check for locking in tryToUnlockDocument:, avoid one unnecessary call of this method, small code changes

git-svn-id: cb3fc60f0f557b927b8032d8a94e869b6f9f230b@7033 0fceea05-a30d-0410-8a8b-80ef821fb0a1

camillobruni/skim,camillobruni/skim,camillobruni/skim,camillobruni/skim