diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-11-08 15:35:41 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-11-08 15:35:41 +0000 |
commit | 95d15907300e85a000c3eede345b29f7ad9f313c (patch) | |
tree | 3457838b638adedf1feb0d9c64a35f494859447b /cppu | |
parent | 9422fc3516a9c543d316a7e5d8ee17bbd6353e95 (diff) |
INTEGRATION: CWS impress74 (1.31.8); FILE MERGED
2005/11/02 12:47:01 dbo 1.31.8.1: #126013# fixed inout ppEnv
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/lbenv.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx index ee4874c1923f..4fae82728b34 100644 --- a/cppu/source/uno/lbenv.cxx +++ b/cppu/source/uno/lbenv.cxx @@ -4,9 +4,9 @@ * * $RCSfile: lbenv.cxx,v $ * - * $Revision: 1.31 $ + * $Revision: 1.32 $ * - * last change: $Author: rt $ $Date: 2005-09-08 08:53:00 $ + * last change: $Author: rt $ $Date: 2005-11-08 16:35:41 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1134,8 +1134,10 @@ void SAL_CALL uno_getEnvironment( SAL_THROW_EXTERN_C() { OSL_ENSURE( ppEnv, "### null ptr!" ); - if (*ppEnv) + if (*ppEnv) { (*(*ppEnv)->release)( *ppEnv ); + *ppEnv = 0; + } OUString const & rEnvTypeName = OUString::unacquired( &pEnvTypeName ); |