Remove unused getLine() in LineWidget

This method's return type is generic, and the method is unused.
Delete it so nobody wastes time trying to figure out what its
return type really is.

Change-Id: If93b8ddf4b5d29f96aa0243a5415bedc12a1b329