Squish: Update findUnusedObjects

Change-Id: I245b6d33489dbfe9c3d4038e9fea48643f714473
Reviewed-by: Robert Loehning <robert.loehning@digia.com>