summaryrefslogtreecommitdiff
path: root/cppuhelper/test
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-12-01 16:20:07 +0000
committerRüdiger Timm <rt@openoffice.org>2006-12-01 16:20:07 +0000
commit92031dea1fae5316f3dddf60555159d029d4c3e0 (patch)
tree49e1ee3c8fa912185cf047ec590fcf6043c7ebbb /cppuhelper/test
parent5a01c636c156ec2b064fd7628f1eef6e1cdf2fbf (diff)
INTEGRATION: CWS bunoidmap (1.13.20); FILE MERGED
2006/11/09 14:31:20 kr 1.13.20.1: fixed: i71156 - cppuhelper/test does not build and work
Diffstat (limited to 'cppuhelper/test')
-rw-r--r--cppuhelper/test/testhelper.cxx17
1 files changed, 10 insertions, 7 deletions
diff --git a/cppuhelper/test/testhelper.cxx b/cppuhelper/test/testhelper.cxx
index ad38f4e1ed86..061852f04952 100644
--- a/cppuhelper/test/testhelper.cxx
+++ b/cppuhelper/test/testhelper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: testhelper.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 12:44:33 $
+ * last change: $Author: rt $ $Date: 2006-12-01 17:20:07 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -33,9 +33,16 @@
*
************************************************************************/
+#if !defined(OSL_DEBUG_LEVEL) || OSL_DEBUG_LEVEL == 0
+# undef OSL_DEBUG_LEVEL
+# define OSL_DEBUG_LEVEL 2
+#endif
+
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_cppuhelper.hxx"
+#include <sal/main.h>
+
#include <stdio.h>
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
@@ -57,11 +64,7 @@ using namespace com::sun::star;
using namespace com::sun::star::lang;
using namespace com::sun::star::registry;
-#if (defined UNX) || (defined OS2)
-int main( int argc, char * argv[] )
-#else
-int __cdecl main( int argc, char * argv[] )
-#endif
+SAL_IMPLEMENT_MAIN()
{
try
{