Difference between revisions of "Uno/Cpp/Snippet/Environment Guard"
From Apache OpenOffice Wiki
m |
m (Splitted categories.) |
||
Line 7: | Line 7: | ||
... | ... | ||
} | } | ||
− | </code><noinclude>[[Category: | + | </code><noinclude>[[Category:Snippet]][[Category:Cpp]][[Category:Uno]]</noinclude> |
Revision as of 08:31, 29 November 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. ...
}