XAdES problem - polish KSEF - C++Builder - 5.1.0.4

The problem is with SHA2.

In HashObj.pas:

constructor TSHA2Hash.Create(hashSize: THashSize; inputFormat, outputFormat: TConvertType;
  uni: TUnicode);
begin
//  inherited Create(Self); /////////////////////////////// comment or delete this line and it should work fine then