Difference between revisions of "Uno/Cpp/Snippet/Environment Guard"
From Apache OpenOffice Wiki
m |
m |
||
Line 7: | Line 7: | ||
... | ... | ||
} | } | ||
− | </code> | + | </code><noinclude>[[Category:Uno:Cpp:Snippet]]</noinclude> |
− | <noinclude>[[Category:Uno:Cpp:Snippet]]</noinclude> | + |
Revision as of 11:28, 28 September 2006
[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. ...
}