changeset: 65:c15372868b58 user: michaelbrauer date: Fri Feb 11 10:47:42 2011 +0100 Get old state from document rather than as paramter