Avoid temporary OUStrings

Change-Id: I25bd1c5900ba5a934c8cb87797e5d06313b75e9f