diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-05 09:34:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-13 06:47:44 +0000 |
commit | 62223f9a8a4d069b34e37ad0c1bf5b73916a646e (patch) | |
tree | 22220910555ac7f99796c2908392fe008f0c75f5 /vbahelper | |
parent | 14a7ac2033273fdddfb9748d5fa1e1c0f25b64ca (diff) |
loplugin:unnecessaryoverride
Change-Id: I08c55a3023ec2e8990098eeb60e91cd18556e7ae
Reviewed-on: https://gerrit.libreoffice.org/29656
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbashapes.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
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) { |