comphelper,connectivity: prefer passing OUString by reference

Change-Id: I19b2613918ec62ee39bb3e447f3587c5dba1e36a