Quality assurance in the maintenance procedures for the public building heritage