fixed func macro in documentation - closes bug #49549