summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-28 17:39:47 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-29 11:07:54 +0200
commit499a46c030bf0250c585ed6cde56fc017a9c73fc (patch)
tree9d31e49ff07ec7a6aae4c0e117342beb43f5c480 /automation
parent249802f6d835f40896890f3202658a38d81b86ad (diff)
callcatcher: remove unused methods
Diffstat (limited to 'automation')
-rw-r--r--automation/source/miniapp/editwin.cxx5
-rw-r--r--automation/source/miniapp/editwin.hxx1
-rw-r--r--automation/source/testtool/httprequest.cxx24
-rw-r--r--automation/source/testtool/httprequest.hxx5
4 files changed, 0 insertions, 35 deletions
diff --git a/automation/source/miniapp/editwin.cxx b/automation/source/miniapp/editwin.cxx
index 395c9deb350a..e0b3ee023dd4 100644
--- a/automation/source/miniapp/editwin.cxx
+++ b/automation/source/miniapp/editwin.cxx
@@ -59,11 +59,6 @@ GHEditWindow::GHEditWindow(Window * pParent, String aName, WinBits iWstyle)
SetText(aName);
}
-void GHEditWindow::Clear()
-{
- aInhalt.SetText(String());
-}
-
void GHEditWindow::AddText( String aNew, sal_Bool bMoveToEnd)
{
String aOld = aInhalt.GetText();
diff --git a/automation/source/miniapp/editwin.hxx b/automation/source/miniapp/editwin.hxx
index ed10acec2646..3181efaefea3 100644
--- a/automation/source/miniapp/editwin.hxx
+++ b/automation/source/miniapp/editwin.hxx
@@ -47,7 +47,6 @@ public:
GHEditWindow();
GHEditWindow(Window * pParent, String aName = CUniString("Neues Fenster"), WinBits iWstyle = WB_STDWORK);
- void Clear();
void AddText( String aNew, sal_Bool bMoveToEnd = sal_True);
};
diff --git a/automation/source/testtool/httprequest.cxx b/automation/source/testtool/httprequest.cxx
index 1fb2f1ee276e..4910ba79ec7c 100644
--- a/automation/source/testtool/httprequest.cxx
+++ b/automation/source/testtool/httprequest.cxx
@@ -50,15 +50,6 @@ HttpRequest::HttpRequest()
{
}
-HttpRequest::~HttpRequest()
-{
- delete pStream;
- pStream = NULL;
-
- delete pOutSocket;
- pOutSocket = NULL;
-}
-
void HttpRequest::SetRequest( rtl::OString aHost, rtl::OString aPath, sal_uInt16 nPort )
{
nStatus = HTTP_REQUEST_SET;
@@ -215,24 +206,9 @@ sal_Bool HttpRequest::IsItem( rtl::OString aItem, rtl::OString aLine )
}
-void HttpRequest::Abort()
-{
- if ( pOutSocket )
- {
- nStatus = HTTP_REQUEST_ERROR;
- pOutSocket->shutdown();
- pOutSocket->close();
- }
-}
-
SvMemoryStream* HttpRequest::GetBody()
{
return pStream;
}
-sal_uInt16 HttpRequest::GetStatus()
-{
- return nStatus;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/automation/source/testtool/httprequest.hxx b/automation/source/testtool/httprequest.hxx
index f6240507a99f..a8a901f1c38d 100644
--- a/automation/source/testtool/httprequest.hxx
+++ b/automation/source/testtool/httprequest.hxx
@@ -65,22 +65,17 @@ class HttpRequest
void Init();
public:
HttpRequest();
- ~HttpRequest();
void SetRequest( rtl::OString aHost, rtl::OString aPath, sal_uInt16 nPort );
void SetProxy( rtl::OString aHost, sal_uInt16 nPort );
sal_Bool Execute();
- void Abort();
rtl::OString GetHeader() const { return aHeader; }
SvMemoryStream* GetBody();
rtl::OString GetContentType() const { return aContentType; }
sal_uInt16 GetResultId() const { return nResultId; }
-
- sal_uInt16 GetStatus();
-
};
#endif