diff options
Diffstat (limited to 'automation/source')
-rw-r--r-- | automation/source/miniapp/editwin.cxx | 5 | ||||
-rw-r--r-- | automation/source/miniapp/editwin.hxx | 1 | ||||
-rw-r--r-- | automation/source/testtool/httprequest.cxx | 24 | ||||
-rw-r--r-- | automation/source/testtool/httprequest.hxx | 5 |
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 |