Part of it was, yes. But going by the image from the tweet, there are many regions recovered, that belonged to the Second Polish Republic and still contained quite sizeable Polish-speaking population. [0]
[0]: https://commons.wikimedia.org/wiki/File:GUS_languages1931_Po...