Move SwTxtFrm specific code from ~SwCntntFrm down to ~SwTxtFrm

...to be executed while this is still a SwTxtFrm, not merely a SwCntntFrm.

Change-Id: Ia2ce9fff7d7e2562deb4bd099975976312cad6c4