Uno/Cpp/Snippet/Requesting an Environment
From Apache OpenOffice Wiki
		
		
		
#include <uno/environment.hxx>
...
{
  uno::Environment env(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("c++:unsafe")));
  ...
}
#include <uno/environment.hxx>
...
{
  uno::Environment env(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("c++:unsafe")));
  ...
}