diff --git a/source/NVDAObjects/behaviors.py b/source/NVDAObjects/behaviors.py index cf0eba50a0f..6713ef9c296 100755 --- a/source/NVDAObjects/behaviors.py +++ b/source/NVDAObjects/behaviors.py @@ -288,9 +288,6 @@ def _getText(self) -> str: The base implementation uses the L{TextInfo}. However, subclasses should override this if there is a better way to retrieve the text. """ - if hasattr(self, "_getTextLines"): - log.warning("LiveText._getTextLines is deprecated, please override _getText instead.") - return '\n'.join(self._getTextLines()) ti = self.makeTextInfo(textInfos.POSITION_ALL) return self.diffAlgo._getText(ti)