WaE: overriding virtual function declaration not marked 'override'

Change-Id: Ie799cd4a2d9c4c9de70712dbfd5de57944d8ecbc
WaE: passing OUString by value, rather pass by reference

Change-Id: I72a1617e54157129bdbfd10f39deaf280006b6c9