summaryrefslogtreecommitdiff
path: root/stoc/test/testsmgr.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-01-13 18:01:41 +0000
committerKurt Zenker <kz@openoffice.org>2005-01-13 18:01:41 +0000
commit5a3e94c603af14b9c93283548d294a020e6c6c2e (patch)
treedb926bb009a3bfc2682743ec09f4a7d1b51c0236 /stoc/test/testsmgr.cxx
parentbc87f5cdd3c80d4dc16093f287540874bd3bd9d8 (diff)
INTEGRATION: CWS cd02 (1.9.120); FILE MERGED
2004/11/15 17:29:02 dbo 1.9.120.1: #i24030# general cleanup to make buildable again
Diffstat (limited to 'stoc/test/testsmgr.cxx')
-rw-r--r--stoc/test/testsmgr.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/stoc/test/testsmgr.cxx b/stoc/test/testsmgr.cxx
index 366441ed8caa..f7143f0abd48 100644
--- a/stoc/test/testsmgr.cxx
+++ b/stoc/test/testsmgr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: testsmgr.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: rt $ $Date: 2003-04-23 16:15:15 $
+ * last change: $Author: kz $ $Date: 2005-01-13 19:01:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -60,6 +60,7 @@
************************************************************************/
#include <stdio.h>
+#include <sal/main.h>
#ifndef _OSL_PROCESS_H_
#include <osl/process.h>
#endif
@@ -76,7 +77,7 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
-#include "testsmgr_cpnt/testsmgr_cpnt.hxx"
+extern "C" void SAL_CALL test_ServiceManager();
#ifndef FALSE
#define FALSE 0
@@ -140,8 +141,7 @@ void setStarUserRegistry()
}
-
-int SAL_CALL main()
+SAL_IMPLEMENT_MAIN()
{
printf( "ServiceManagerTest : \r");
setStarUserRegistry();