diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-01-13 18:01:18 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-01-13 18:01:18 +0000 |
commit | bc87f5cdd3c80d4dc16093f287540874bd3bd9d8 (patch) | |
tree | ed04324233ad2945fb276f3a4c9177ee9d157d11 /stoc | |
parent | INTEGRATION: CWS cd02 (1.8.40); FILE MERGED (diff) | |
download | core-bc87f5cdd3c80d4dc16093f287540874bd3bd9d8.tar.gz core-bc87f5cdd3c80d4dc16093f287540874bd3bd9d8.zip |
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')
-rw-r--r-- | stoc/test/testregistry.cxx | 13 |
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"), |