Use SwNode::GetTxtNode()

Change-Id: Icf3e1013d5eba5702badf19aa6c1f5e6708ed154