DocumentModel: Remove unused function

Change-Id: I6c7d125abb653349cb4f10364a92208ebeb6a5d8
Reviewed-by: Eike Ziller <eike.ziller@digia.com>