diff options
author | Rüdiger Timm <rt@openoffice.org> | 2006-03-06 09:17:12 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2006-03-06 09:17:12 +0000 |
commit | b4f7d5b587af30aa84c2aaca76b9a59e6fb7b62a (patch) | |
tree | e3e7f9d9230eba4539ec2fe5c7c86108ad3f930a /cppu/test/testcppu.cxx | |
parent | e6299f31527929fb42ca8a52b1bb35570cce8cbd (diff) |
INTEGRATION: CWS dbo510 (1.30.8); FILE MERGED
2005/11/18 12:21:42 dbo 1.30.8.1: additoinal test
Diffstat (limited to 'cppu/test/testcppu.cxx')
-rw-r--r-- | cppu/test/testcppu.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/cppu/test/testcppu.cxx b/cppu/test/testcppu.cxx index 316ac1c7c825..17a90867916c 100644 --- a/cppu/test/testcppu.cxx +++ b/cppu/test/testcppu.cxx @@ -4,9 +4,9 @@ * * $RCSfile: testcppu.cxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: rt $ $Date: 2005-09-08 08:59:37 $ + * last change: $Author: rt $ $Date: 2006-03-06 10:17:12 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1149,6 +1149,13 @@ void testArray(void) */ int SAL_CALL main(int argc, char **argv) { + rtl::OUString const cppName( + RTL_CONSTASCII_USTRINGPARAM(CPPU_CURRENT_LANGUAGE_BINDING_NAME) ); + uno_Environment * pCppEnv = 0; + uno_getEnvironment( &pCppEnv, cppName.pData, 0 ); + uno_getEnvironment( &pCppEnv, cppName.pData, 0 ); + (*pCppEnv->release)( pCppEnv ); + try { typelib_setCacheSize( 200 ); Reference< registry::XSimpleRegistry > xRegistry( |