Is this the only time you're using `CKeyboardLayout::operator!=` ?  It seems to me that there'd be a more efficient method?