Difference between revisions of "Uno/Cpp/Snippet/Environment AntiGuard"
From Apache OpenOffice Wiki
m (Splitted categories.) |
SergeMoutou (Talk | contribs) m |
||
Line 1: | Line 1: | ||
− | < | + | <source lang="cpp"> |
#include <cppu/EnvGuards.hxx> | #include <cppu/EnvGuards.hxx> | ||
... | ... | ||
Line 7: | Line 7: | ||
... | ... | ||
} | } | ||
− | </ | + | </source><noinclude>[[Category:Snippet]][[Category:Cpp]][[Category:Uno]]</noinclude> |
Revision as of 17:36, 23 February 2008
#include <cppu/EnvGuards.hxx> ... { cppu::AntiEnvGuard antiEnvGuard; // From here onwards the previous environment has been left, at the end of the block it gets re-entered. ... }