Dustin Hoffman was successfully treated for cancer, his publicist says, without his fans even knowing he was ill. In a similar fashion to actress Angelina Jolie, Hoffman took preventative measures after cancer was detected in his system, People magazine reported Tuesday.

Hoffman's rep Jodi Gotlieb told the magazine he is doing well. "It was detected early and he has been surgically cured," she said. "Dustin is feeling great and is in good health.

The 75-year-old actor, a two-time Oscar-winner, will continue to receive preventative treatments to minimize the chance of cancer recurring, People wrote. Gottlieb did not disclose any additional information about the type of cancer Hoffman had or what treatment he received, CBS News added.

Hoffman is best known for acting, but he has also tried his hand at directing. The news site added he spent most of 2012 promoting the film “Quartet,” which he directed. According to the Internet Movie Database, the film merited a 6.7 rating from IMDb users. It stars venerable British greats like Maggie Smith and Tom Courtenay.

The film, which debuted in theaters March 2013, is described by the movie site as: “At a home for retired musicians, the annual concert to celebrate Verdi's birthday is disrupted by the arrival of Jean, an eternal diva and the former wife of one of the residents.”

Hoffman just finished working on Jon Favreau’s “Chef,” according to CBS News, alongside Scarlett Johansson, Robert Downey Jr. and Sofia Vergara. He is also slated to appear in “The Songs of Names,” and the third installment of “Kung Fu Panda,” where he voices Master Shifu.