cosmetical adapt to style

Change-Id: I210f74670631707b02b68150efac76b0985390ac
actually the extra check isn't needed

The end row will be the maximum of the start row and the last data row
up to the original end row.

Change-Id: I906a5f44f31f333c814b6832767dc3bd0ecd8278
use GetLastDataRow() also in ShrinkToUsedDataArea()

Change-Id: Ie9d729900d6096dc8f540b3bc52df749b15675e2