Beautify patch

Change-Id: I91f403a39a7fea23f30fb64c4f9e4c3937f0401d
Application::PostUserEvent returns a pointer dressed as sal_uLong

Change-Id: Ia5ca45e35766a7cebf0b53bcac1bd9dff29ad6ea