summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-01-02 15:13:28 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-01-02 15:13:28 +0000
commit7758cc489fdcb0509f40e15af9b9b8317cb8f006 (patch)
tree04478d6589a5f1acba51c512448a2a7f599c4e7b /shell
parent5f57a5a1709f215476720500e4496159e62377da (diff)
INTEGRATION: CWS vistaready01 (1.4.22); FILE MERGED
2006/12/08 12:52:19 lla 1.4.22.1: #i72391# bring tests up to date
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/workbench/TestProxySet.cxx15
1 files changed, 10 insertions, 5 deletions
diff --git a/shell/source/win32/workbench/TestProxySet.cxx b/shell/source/win32/workbench/TestProxySet.cxx
index 87908180269a..ed1727f5d933 100644
--- a/shell/source/win32/workbench/TestProxySet.cxx
+++ b/shell/source/win32/workbench/TestProxySet.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: TestProxySet.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 01:49:18 $
+ * last change: $Author: hr $ $Date: 2007-01-02 16:13:28 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -61,8 +61,8 @@
#include <cppuhelper/servicefactory.hxx>
#endif
-#ifndef _RTL_USTRING_
-#include <rtl/ustring>
+#ifndef _RTL_USTRING_HXX_
+#include <rtl/ustring.hxx>
#endif
#ifndef _SAL_TYPES_H_
@@ -118,7 +118,8 @@ Reference< XMultiServiceFactory > g_xFactory;
//--------------------------------------------------------------
-int SAL_CALL main(int nArgc, char* Argv[], char* Env[] )
+// int SAL_CALL main(int nArgc, char* Argv[], char* Env[] )
+int SAL_CALL main(int, char*, char* )
{
//-------------------------------------------------
// get the global service-manager
@@ -196,6 +197,10 @@ int SAL_CALL main(int nArgc, char* Argv[], char* Env[] )
proxyBypass = xProxySettings->getProxyBypassAddress( );
sal_Bool bProxyEnabled = xProxySettings->isProxyEnabled( );
+ if (bProxyEnabled)
+ {
+ printf("Test ProxyEnabled true\n");
+ }
printf( "Test of SOProxySettings successful\n" );
}