summaryrefslogtreecommitdiff
path: root/stoc/test/testintrosp.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-01-13 18:00:32 +0000
committerKurt Zenker <kz@openoffice.org>2005-01-13 18:00:32 +0000
commite7426097f7c9cde7fad65a1a87febac44b0cce0f (patch)
tree4c83c539e3dbd07fb12f6b335d275871e2c3d643 /stoc/test/testintrosp.cxx
parent1dbdb553548b6f0f4499858540f9cbf7d6ef1337 (diff)
INTEGRATION: CWS cd02 (1.11.120); FILE MERGED
2004/11/15 17:29:01 dbo 1.11.120.2: #i24030# general cleanup to make buildable again 2004/11/15 16:10:16 dbo 1.11.120.1: #i33535# fixing for scope
Diffstat (limited to 'stoc/test/testintrosp.cxx')
-rw-r--r--stoc/test/testintrosp.cxx17
1 files changed, 6 insertions, 11 deletions
diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx
index 83d7c3ea6..5ef32850a 100644
--- a/stoc/test/testintrosp.cxx
+++ b/stoc/test/testintrosp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: testintrosp.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: rt $ $Date: 2003-04-23 16:14:39 $
+ * last change: $Author: kz $ $Date: 2005-01-13 19:00:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -59,6 +59,7 @@
*
************************************************************************/
+#include <sal/main.h>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase4.hxx>
#include <cppuhelper/servicefactory.hxx>
@@ -1448,7 +1449,7 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr,
}
// Schleife ueber alle Kombinationen von Concepts
- for( nConcepts = 0 ; nConcepts < 128 ; nConcepts++ )
+ for( sal_Int32 nConcepts = 0 ; nConcepts < 128 ; nConcepts++ )
{
//printf( "*******************************************************\n" );
//printf( "nConcepts = %ld\n", nConcepts );
@@ -1577,13 +1578,7 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr,
}
-
-
-#if (defined UNX) || (defined OS2)
-int main( int argc, char * argv[] )
-#else
-int __cdecl main( int argc, char * argv[] )
-#endif
+SAL_IMPLEMENT_MAIN()
{
Reference< XMultiServiceFactory > xMgr( createRegistryServiceFactory( OUString::createFromAscii("stoctest.rdb") ) );
@@ -1596,7 +1591,7 @@ int __cdecl main( int argc, char * argv[] )
// Register services
OUString libName( RTL_CONSTASCII_USTRINGPARAM(
- "corereflection.uno" SAL_DLLEXTENSION) );
+ "reflection.uno" SAL_DLLEXTENSION) );
// ORealDynamicLoader::computeLibraryName( OUString::createFromAscii("corefl"), libName);
fprintf(stderr, "1\n" );
xImplReg->registerImplementation(OUString::createFromAscii("com.sun.star.loader.SharedLibrary"),