Fixed 'Bug 10671 - Auto-Fix of Base Class is wrong (generates invalid code)'.