i123468 Added SdrEndTextEdit before replacing EmptyPresObj, also secured ReplaceObjectAtView to check for active TextEdit, assert this and make an emergency correction

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1569029 13f79535-47bb-0310-9956-ffa450edef68