diff options
author | Petr Vorel <petr.vorel@gmail.com> | 2013-06-27 21:36:48 +0200 |
---|---|---|
committer | Bosdonnat Cedric <cedric.bosdonnat@free.fr> | 2013-07-01 11:39:43 +0000 |
commit | 6a59659541e45198b8cda162f87f6abcd68c6101 (patch) | |
tree | 08e8e64f6547ff1493b338bcd0a865e821a3b504 | |
parent | ba8bcc2681d8e9788ae2d6fef11308d5f0fcae05 (diff) |
Remove unused code
Change-Id: Id789250d6aeae642ef5c712e33c5583628638218
Reviewed-on: https://gerrit.libreoffice.org/4604
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
-rw-r--r-- | sd/source/ui/remotecontrol/BluetoothServer.cxx | 5 | ||||
-rw-r--r-- | sd/source/ui/view/ViewShellBase.cxx | 7 | ||||
-rw-r--r-- | unotest/source/cpp/bootstrapfixturebase.cxx | 12 | ||||
-rw-r--r-- | unusedcode.easy | 3 |
4 files changed, 0 insertions, 27 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx index ce8bc3c8debd..37836ee403e6 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 66707c360d23..b1e671fad3b4 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 2192b79ff024..1ffab1ebee5b 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 8a9bec098a00..50ec494935ee 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*) |