Wiktionary
straighten one's face
vb. To cease laughing or smiling, etc., and compose one's features.