[Libreoffice-commits] .: automation/source basctl/inc basctl/source

Thomas Arnhold tarnhold at kemper.freedesktop.org
Fri Jul 29 02:10:47 PDT 2011


 automation/source/miniapp/editwin.cxx      |    5 -----
 automation/source/miniapp/editwin.hxx      |    1 -
 automation/source/testtool/httprequest.cxx |   24 ------------------------
 automation/source/testtool/httprequest.hxx |    5 -----
 basctl/inc/iderdll.hxx                     |    1 -
 basctl/source/basicide/iderdll.cxx         |   14 --------------
 6 files changed, 50 deletions(-)

New commits:
commit 7cb18732923040b27ebd0d1f9c9bc01766d04d59
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Thu Jul 28 17:39:47 2011 +0200

    callcatcher: remove unused methods

diff --git a/automation/source/miniapp/editwin.cxx b/automation/source/miniapp/editwin.cxx
index 54cf342..b4e3676 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 873d6b0..3f6d2c1 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 6fc3478..b99cc72 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 d4f0a72..90e97c4 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 c57b1ba..fcebc6a 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 7e2bbd5..e231b28 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 )


More information about the Libreoffice-commits mailing list