#include <uno/environment.hxx> ... { uno::Environment env(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("c++:unsafe"))); ... }