summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-27 10:34:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-27 10:16:08 +0000
commitc19d2b276b7a28c07315cf60cb0965098a935e5f (patch)
treecf3d2548bf3ed784b709bd74ec96eb071b167417 /stoc
parente641c1740f36ce11c9f178193f74a53ac7af8465 (diff)
loplugin:expandablemethods in stoc..svl
Change-Id: I7dd701ef07a14f70589b87154bfeeda7530b628f Reviewed-on: https://gerrit.libreoffice.org/30316 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/inspect/introspection.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 081983f452ac..a755443f19c2 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -701,7 +701,6 @@ class ImplIntrospectionAccess : public IntrospectionAccessHelper
Reference<XIndexAccess> getXIndexAccess();
Reference<XEnumerationAccess> getXEnumerationAccess();
Reference<XIdlArray> getXIdlArray();
- Reference<XUnoTunnel> getXUnoTunnel();
void cacheXNameContainer();
void cacheXIndexContainer();
@@ -1019,11 +1018,6 @@ Reference<XIdlArray> ImplIntrospectionAccess::getXIdlArray()
return mxObjIdlArray;
}
-Reference<XUnoTunnel> ImplIntrospectionAccess::getXUnoTunnel()
-{
- return Reference<XUnoTunnel>::query( mxIface );
-}
-
// Methods from XInterface
Any SAL_CALL ImplIntrospectionAccess::queryInterface( const Type& rType )
throw( RuntimeException, std::exception )
@@ -1282,7 +1276,7 @@ void ImplIntrospectionAccess::set(Any& array, sal_Int32 index, const Any& value)
sal_Int64 ImplIntrospectionAccess::getSomething( const Sequence< sal_Int8 >& aIdentifier )
throw (RuntimeException, std::exception)
{
- return getXUnoTunnel()->getSomething( aIdentifier );
+ return Reference<XUnoTunnel>::query( mxIface )->getSomething( aIdentifier );
}