[Libreoffice-commits] core.git: sd/source unotest/source unusedcode.easy

Petr Vorel petr.vorel at gmail.com
Mon Jul 1 04:40:03 PDT 2013


 sd/source/ui/remotecontrol/BluetoothServer.cxx |    5 -----
 sd/source/ui/view/ViewShellBase.cxx            |    7 -------
 unotest/source/cpp/bootstrapfixturebase.cxx    |   12 ------------
 unusedcode.easy                                |    3 ---
 4 files changed, 27 deletions(-)

New commits:
commit 6a59659541e45198b8cda162f87f6abcd68c6101
Author: Petr Vorel <petr.vorel at gmail.com>
Date:   Thu Jun 27 21:36:48 2013 +0200

    Remove unused code
    
    Change-Id: Id789250d6aeae642ef5c712e33c5583628638218
    Reviewed-on: https://gerrit.libreoffice.org/4604
    Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
    Tested-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>

diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index ce8bc3c..37836ee 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -274,11 +274,6 @@ bluezDetachCloseSocket( GMainContext *pContext, GPollFD *pSocketFD )
 
 #endif // LINUX_BLUETOOTH
 
-void BluetoothServer::addCommunicator( Communicator* pCommunicator )
-{
-    mpCommunicators->push_back( pCommunicator );
-}
-
 #if defined(MACOSX)
 
 OSXBluetoothWrapper::OSXBluetoothWrapper( IOBluetoothRFCOMMChannel* channel ) :
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx
index 66707c3..b1e671fa 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -223,13 +223,6 @@ TYPEINIT1(ViewShellBase, SfxViewShell);
 // new ViewShellBase object has been constructed.
 
 SfxViewFactory* ViewShellBase::pFactory;
-SfxViewShell* ViewShellBase::CreateInstance (
-    SfxViewFrame *pFrame, SfxViewShell *pOldView)
-{
-    ViewShellBase* pBase = new ViewShellBase(pFrame, pOldView);
-    pBase->LateInit("");
-    return pBase;
-}
 
 SFX_IMPL_INTERFACE(ViewShellBase, SfxViewShell, SdResId(0))
 {
diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx
index 2192b79..1ffab1e 100644
--- a/unotest/source/cpp/bootstrapfixturebase.cxx
+++ b/unotest/source/cpp/bootstrapfixturebase.cxx
@@ -76,18 +76,6 @@ OUString test::BootstrapFixtureBase::getPathFromSrc( const char *pPath )
     return m_aSrcRootPath + OUString::createFromAscii( pPath );
 }
 
-
-OUString test::BootstrapFixtureBase::getURLFromWorkdir( const char *pPath )
-{
-    return m_aWorkdirRootURL + OUString::createFromAscii( pPath );
-}
-
-OUString test::BootstrapFixtureBase::getPathFromWorkdir( const char *pPath )
-{
-    return m_aWorkdirRootPath + OUString::createFromAscii( pPath );
-
-}
-
 void test::BootstrapFixtureBase::setUp()
 {
     // set UserInstallation to user profile dir in test/user-template
diff --git a/unusedcode.easy b/unusedcode.easy
index 8a9bec0..50ec494 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -43,6 +43,3 @@ sd::BluetoothServer::addCommunicator(sd::Communicator*)
 sd::LeftDrawPaneShell::RegisterInterface(SfxModule*)
 sd::LeftImpressPaneShell::RegisterInterface(SfxModule*)
 sd::ToolPanelPaneShell::RegisterInterface(SfxModule*)
-sd::ViewShellBase::CreateInstance(SfxViewFrame*, SfxViewShell*)
-test::BootstrapFixtureBase::getPathFromWorkdir(char const*)
-test::BootstrapFixtureBase::getURLFromWorkdir(char const*)


More information about the Libreoffice-commits mailing list