Wrong unnecessarily deep downcasts

...to SwDrawContact instead of SwContact, ingoring that some objects involved
in e.g. CppunitTest_sw_uiwriter are of type SwFlyDrawContact.

Change-Id: Ie3b7726b3d47106db00b8aa11b702d505c369e00