Clean up SwXTextDocument::create

Change-Id: I78a190176b7a4070442036772d244ea008dd34c1