basic: prefer passing OUString and OString by reference

Change-Id: I8121204cdb37d4e1d8967397f3e45bdab6aaddad
vcl: prefer passing OUString and OString by reference

Change-Id: I6c2c6f597ca62c004ad7dc606cef3a3b10e810b6