use constData and cleanup the code a bit BUG: 353947 REVIEW: 125674
use constData and cleanup the code a bit
BUG: 353947
REVIEW: 125674

jfmcarreira/kate,cmacq2/kate,cmacq2/kate,jfmcarreira/kate,jfmcarreira/kate,cmacq2/kate