summaryrefslogtreecommitdiff
path: root/stoc/test/testregistry.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-01-13 18:01:18 +0000
committerKurt Zenker <kz@openoffice.org>2005-01-13 18:01:18 +0000
commitbc87f5cdd3c80d4dc16093f287540874bd3bd9d8 (patch)
treeed04324233ad2945fb276f3a4c9177ee9d157d11 /stoc/test/testregistry.cxx
parentfda6c557efe1f59f91e7b005b78b4e10cb5caef2 (diff)
INTEGRATION: CWS cd02 (1.14.50); FILE MERGED
2004/11/15 17:29:02 dbo 1.14.50.1: #i24030# general cleanup to make buildable again
Diffstat (limited to 'stoc/test/testregistry.cxx')
-rw-r--r--stoc/test/testregistry.cxx13
1 files changed, 4 insertions, 9 deletions
diff --git a/stoc/test/testregistry.cxx b/stoc/test/testregistry.cxx
index d2c478381c5d..4a8882078dc1 100644
--- a/stoc/test/testregistry.cxx
+++ b/stoc/test/testregistry.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: testregistry.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: hr $ $Date: 2004-02-02 19:27:52 $
+ * last change: $Author: kz $ $Date: 2005-01-13 19:01:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -63,6 +63,7 @@
#include <stdlib.h>
#include <string.h>
+#include <sal/main.h>
#ifndef _OSL_MODULE_HXX_
#include <osl/module.hxx>
#endif
@@ -726,13 +727,7 @@ void test_DefaultRegistry(
}
-
-
-#if (defined UNX) || (defined OS2)
-int main( int argc, char * argv[] )
-#else
-int _cdecl main( int argc, char * argv[] )
-#endif
+SAL_IMPLEMENT_MAIN()
{
setStarUserRegistry();
setLinkInDefaultRegistry(OUString::createFromAscii("/Test/DefaultLink"),