From 62223f9a8a4d069b34e37ad0c1bf5b73916a646e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Oct 2016 09:34:05 +0200 Subject: loplugin:unnecessaryoverride Change-Id: I08c55a3023ec2e8990098eeb60e91cd18556e7ae Reviewed-on: https://gerrit.libreoffice.org/29656 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- vbahelper/source/vbahelper/vbashapes.cxx | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'vbahelper/source') diff --git a/vbahelper/source/vbahelper/vbashapes.cxx b/vbahelper/source/vbahelper/vbashapes.cxx index 91f9b37ae13d..bb5c620f8742 100644 --- a/vbahelper/source/vbahelper/vbashapes.cxx +++ b/vbahelper/source/vbahelper/vbashapes.cxx @@ -173,23 +173,6 @@ ScVbaShapes::getShapesByArrayIndices( const uno::Any& Index ) throw (uno::Runti return xIndexAccess; } -uno::Any SAL_CALL -ScVbaShapes::Item(const uno::Any& Index, const uno::Any& Index2) - throw (lang::IndexOutOfBoundsException, script::BasicErrorException, uno::RuntimeException) -{ - // I don't think we need to support Array of indices for shapes -/* - if ( Index.getValueTypeClass() == uno::TypeClass_SEQUENCE ) - { - uno::Reference< container::XIndexAccess > xIndexAccess( getShapesByArrayIndices( Index ) ); - // return new collection instance - uno::Reference< XCollection > xShapesCollection( new ScVbaShapes( this->getParent(), mxContext, xIndexAccess ) ); - return uno::makeAny( xShapesCollection ); - } -*/ - return ScVbaShapes_BASE::Item( Index, Index2 ); -} - uno::Reference< msforms::XShapeRange > SAL_CALL ScVbaShapes::Range( const uno::Any& shapes ) throw (css::uno::RuntimeException, std::exception) { -- cgit