Removed unused code in FrontOffice PDF Invoice

I looked through the code. And I can't see that, this code is used. Everything is handled in PDF class.