summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-28 10:10:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-29 07:28:57 +0100
commita566fd1c1a50f9bcb4c69a19bdf4fb1955285d93 (patch)
tree13273efcf8aa69ce39a1860dc3d111c071e6a7b3 /vbahelper
parent411260d836e7bf6c693b9b7d16af1b36184133af (diff)
loplugin:unusedmethods
Change-Id: I2efb5c0e5735c179314c6c5de87821cee3b033e1 Reviewed-on: https://gerrit.libreoffice.org/45386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/msforms/vbacontrols.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/vbahelper/source/msforms/vbacontrols.cxx b/vbahelper/source/msforms/vbacontrols.cxx
index 1ebbd767d80e..7efa5697df4a 100644
--- a/vbahelper/source/msforms/vbacontrols.cxx
+++ b/vbahelper/source/msforms/vbacontrols.cxx
@@ -66,19 +66,6 @@ private:
mIndices[ msNames[ nIndex ] ] = nIndex;
}
}
- void getNestedControls( ControlVec& vControls, uno::Reference< awt::XControlContainer > const & xContainer )
- {
- uno::Sequence< uno::Reference< awt::XControl > > aControls = xContainer->getControls();
- const uno::Reference< awt::XControl >* pCtrl = aControls.getConstArray();
- const uno::Reference< awt::XControl >* pCtrlsEnd = pCtrl + aControls.getLength();
- for ( ; pCtrl < pCtrlsEnd; ++pCtrl )
- {
- uno::Reference< awt::XControlContainer > xC( *pCtrl, uno::UNO_QUERY );
- vControls.push_back( *pCtrl );
- if ( xC.is() )
- getNestedControls( vControls, xC );
- }
- }
public:
explicit ControlArrayWrapper( const uno::Reference< awt::XControl >& xDialog )
{