summaryrefslogtreecommitdiff
path: root/automation/source/testtool/httprequest.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'automation/source/testtool/httprequest.hxx')
-rw-r--r--automation/source/testtool/httprequest.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/automation/source/testtool/httprequest.hxx b/automation/source/testtool/httprequest.hxx
index 44234239b81f..e9b36a321d82 100644
--- a/automation/source/testtool/httprequest.hxx
+++ b/automation/source/testtool/httprequest.hxx
@@ -47,38 +47,38 @@ class HttpRequest
{
ByteString aRequestPath;
ByteString aRequestHost;
- USHORT nRequestPort;
+ sal_uInt16 nRequestPort;
ByteString aProxyHost;
- USHORT nProxyPort;
+ sal_uInt16 nProxyPort;
- USHORT nStatus;
+ sal_uInt16 nStatus;
vos::OConnectorSocket *pOutSocket;
ByteString aHeader;
- USHORT nResultId;
+ sal_uInt16 nResultId;
ByteString aContentType;
SvMemoryStream* pStream;
void SendString( vos::OStreamSocket* pSocket, ByteString aText );
- BOOL IsItem( ByteString aItem, ByteString aLine );
+ sal_Bool IsItem( ByteString aItem, ByteString aLine );
void Init();
public:
HttpRequest();
~HttpRequest();
- void SetRequest( ByteString aHost, ByteString aPath, USHORT nPort );
- void SetProxy( ByteString aHost, USHORT nPort );
+ void SetRequest( ByteString aHost, ByteString aPath, sal_uInt16 nPort );
+ void SetProxy( ByteString aHost, sal_uInt16 nPort );
- BOOL Execute();
+ sal_Bool Execute();
void Abort();
ByteString GetHeader() { return aHeader; }
SvMemoryStream* GetBody();
ByteString GetContentType() { return aContentType; }
- USHORT GetResultId() { return nResultId; }
+ sal_uInt16 GetResultId() { return nResultId; }
- USHORT GetStatus();
+ sal_uInt16 GetStatus();
};