summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-18 09:37:44 +0200
committerNoel Grandin <noel@peralex.com>2015-12-21 10:20:31 +0200
commite18b08363a939b35e7f5dc435e606d2c62bddebd (patch)
tree6318e03a67fd2dfbbd29b88b3de36ad7e9fd6292 /comphelper
parent20ff8cc5c3534d149b18b9776ab964324e70fdfd (diff)
loplugin:unusedmethods
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/accimplaccess.cxx39
-rw-r--r--comphelper/source/misc/documentiologring.cxx6
-rw-r--r--comphelper/source/misc/documentiologring.hxx2
-rw-r--r--comphelper/source/misc/officerestartmanager.cxx6
-rw-r--r--comphelper/source/misc/officerestartmanager.hxx2
-rw-r--r--comphelper/source/officeinstdir/officeinstallationdirectories.cxx7
-rw-r--r--comphelper/source/officeinstdir/officeinstallationdirectories.hxx2
7 files changed, 0 insertions, 64 deletions
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx
index e6a3f3cf4dc9..1eaffe1fa237 100644
--- a/comphelper/source/misc/accimplaccess.cxx
+++ b/comphelper/source/misc/accimplaccess.cxx
@@ -65,12 +65,6 @@ namespace comphelper
}
- void OAccessibleImplementationAccess::setAccessibleParent( const Reference< XAccessible >& _rxAccParent )
- {
- m_pImpl->m_xAccParent = _rxAccParent;
- }
-
-
sal_Int64 OAccessibleImplementationAccess::implGetForeignControlledStates( ) const
{
return m_pImpl->m_nForeignControlledStates;
@@ -98,39 +92,6 @@ namespace comphelper
return nReturn;
}
-
- OAccessibleImplementationAccess* OAccessibleImplementationAccess::getImplementation( const Reference< XAccessibleContext >& _rxComponent )
- {
- OAccessibleImplementationAccess* pImplementation = nullptr;
- try
- {
- Reference< XUnoTunnel > xTunnel( _rxComponent, UNO_QUERY );
- if ( xTunnel.is() )
- {
- pImplementation = reinterpret_cast< OAccessibleImplementationAccess* >(
- xTunnel->getSomething( getUnoTunnelImplementationId() ) );
- }
- }
- catch( const Exception& )
- {
- OSL_FAIL( "OAccessibleImplementationAccess::setAccessibleParent: caught an exception while retrieving the implementation!" );
- }
- return pImplementation;
- }
-
-
- bool OAccessibleImplementationAccess::setAccessibleParent(
- const Reference< XAccessibleContext >& _rxComponent, const Reference< XAccessible >& _rxNewParent )
- {
- OAccessibleImplementationAccess* pImplementation = getImplementation( _rxComponent );
-
- if ( pImplementation )
- pImplementation->setAccessibleParent( _rxNewParent );
-
- return ( nullptr != pImplementation );
- }
-
-
} // namespace comphelper
diff --git a/comphelper/source/misc/documentiologring.cxx b/comphelper/source/misc/documentiologring.cxx
index fea9257d17eb..a9457a84fb39 100644
--- a/comphelper/source/misc/documentiologring.cxx
+++ b/comphelper/source/misc/documentiologring.cxx
@@ -60,12 +60,6 @@ OUString SAL_CALL OSimpleLogRing::getImplementationName_static()
}
-OUString SAL_CALL OSimpleLogRing::getSingletonName_static()
-{
- return OUString( "com.sun.star.logging.DocumentIOLogRing" );
-}
-
-
OUString SAL_CALL OSimpleLogRing::getServiceName_static()
{
return OUString( "com.sun.star.logging.SimpleLogRing" );
diff --git a/comphelper/source/misc/documentiologring.hxx b/comphelper/source/misc/documentiologring.hxx
index e6c53bb3a291..ffd124e22154 100644
--- a/comphelper/source/misc/documentiologring.hxx
+++ b/comphelper/source/misc/documentiologring.hxx
@@ -52,8 +52,6 @@ public:
static OUString SAL_CALL getImplementationName_static();
- static OUString SAL_CALL getSingletonName_static();
-
static OUString SAL_CALL getServiceName_static();
static css::uno::Reference< css::uno::XInterface > SAL_CALL
diff --git a/comphelper/source/misc/officerestartmanager.cxx b/comphelper/source/misc/officerestartmanager.cxx
index fe7b1590bf65..54bdac95ff1c 100644
--- a/comphelper/source/misc/officerestartmanager.cxx
+++ b/comphelper/source/misc/officerestartmanager.cxx
@@ -47,12 +47,6 @@ OUString SAL_CALL OOfficeRestartManager::getImplementationName_static()
}
-OUString SAL_CALL OOfficeRestartManager::getSingletonName_static()
-{
- return OUString( "com.sun.star.task.OfficeRestartManager" );
-}
-
-
OUString SAL_CALL OOfficeRestartManager::getServiceName_static()
{
return OUString( "com.sun.star.comp.task.OfficeRestartManager" );
diff --git a/comphelper/source/misc/officerestartmanager.hxx b/comphelper/source/misc/officerestartmanager.hxx
index 6158e8e4511c..15a050f3855c 100644
--- a/comphelper/source/misc/officerestartmanager.hxx
+++ b/comphelper/source/misc/officerestartmanager.hxx
@@ -56,8 +56,6 @@ public:
static OUString SAL_CALL getImplementationName_static();
- static OUString SAL_CALL getSingletonName_static();
-
static OUString SAL_CALL getServiceName_static();
static css::uno::Reference< css::uno::XInterface > SAL_CALL
diff --git a/comphelper/source/officeinstdir/officeinstallationdirectories.cxx b/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
index 4dc345f6b7fd..ca2aa0da4228 100644
--- a/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
+++ b/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
@@ -250,13 +250,6 @@ OfficeInstallationDirectories::getSupportedServiceNames_static()
// static
-OUString SAL_CALL OfficeInstallationDirectories::getSingletonName_static()
-{
- return OUString("com.sun.star.util.theOfficeInstallationDirectories");
-}
-
-
-// static
uno::Reference< uno::XInterface > SAL_CALL
OfficeInstallationDirectories::Create(
const uno::Reference< uno::XComponentContext > & rxContext )
diff --git a/comphelper/source/officeinstdir/officeinstallationdirectories.hxx b/comphelper/source/officeinstdir/officeinstallationdirectories.hxx
index f5c3267e49af..40c3fd0c41a6 100644
--- a/comphelper/source/officeinstdir/officeinstallationdirectories.hxx
+++ b/comphelper/source/officeinstdir/officeinstallationdirectories.hxx
@@ -77,8 +77,6 @@ public:
getImplementationName_static();
static css::uno::Sequence< OUString > SAL_CALL
getSupportedServiceNames_static();
- static OUString SAL_CALL
- getSingletonName_static();
static css::uno::Reference< css::uno::XInterface > SAL_CALL
Create( const css::uno::Reference< css::uno::XComponentContext >& );