Uno/Cpp/Snippet/Environment Guard
From Apache OpenOffice Wiki
[cpp]
- include <cppu/EnvGuards.hxx>
... {
cppu::EnvGuard cppUnsafe(uno::Environment(RTL_CONSTASCII_USTRINGPARAM("c++:unsafe"))); // From here onwards the environment is entered, until the end of the block. ...
}