diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-28 17:39:47 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-29 11:07:54 +0200 |
commit | 7cb18732923040b27ebd0d1f9c9bc01766d04d59 (patch) | |
tree | 6ed89de82d917109cbf4ec9203076eb2692ecc4c | |
parent | fbfd9ea9380f869cfd96ca2e6ab3adced35ecb73 (diff) |
callcatcher: remove unused methods
-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 | ||||
-rw-r--r-- | basctl/inc/iderdll.hxx | 1 | ||||
-rw-r--r-- | basctl/source/basicide/iderdll.cxx | 14 |
6 files changed, 0 insertions, 50 deletions
diff --git a/automation/source/miniapp/editwin.cxx b/automation/source/miniapp/editwin.cxx index 54cf342d0..b4e367670 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 873d6b008..3f6d2c101 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 6fc3478ea..b99cc72b5 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 d4f0a722f..90e97c4c6 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 diff --git a/basctl/inc/iderdll.hxx b/basctl/inc/iderdll.hxx index c57b1bae9..fcebc6ac4 100644 --- a/basctl/inc/iderdll.hxx +++ b/basctl/inc/iderdll.hxx @@ -46,7 +46,6 @@ public: BasicIDEShell* GetShell() const { return pShell; } BasicIDEData* GetExtraData(); static void Init(); - static void Exit(); static BasicIDEDLL* GetDLL(); }; diff --git a/basctl/source/basicide/iderdll.cxx b/basctl/source/basicide/iderdll.cxx index 7e2bbd5ae..e231b2844 100644 --- a/basctl/source/basicide/iderdll.cxx +++ b/basctl/source/basicide/iderdll.cxx @@ -115,20 +115,6 @@ void BasicIDEDLL::Init() PropBrwMgr::RegisterChildWindow(); } -/************************************************************************* -|* -|* Deinitialisierung -|* -\************************************************************************/ -void BasicIDEDLL::Exit() -{ - // the BasicIDEModule must be destroyed - BasicIDEModule** ppShlPtr = (BasicIDEModule**) GetAppData(SHL_IDE); - delete (*ppShlPtr); - (*ppShlPtr) = NULL; - DELETEZ( pBasicIDEDLL ); -} - BasicIDEData* BasicIDEDLL::GetExtraData() { if ( !pExtraData ) |