Minor bug fix in getLineScan/setLinescan

missing return statements raised errors. return statements added.