summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbaoleobjects.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:53:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-09 21:04:10 +0100
commitb4f38d8b788018b3f88421d72bb82ad3bdeef9e2 (patch)
treeac428f55c596a8cef2c466e0a4bd7e8507768230 /sc/source/ui/vba/vbaoleobjects.cxx
parent21d1d0d2340d40f646c5e3f413a33b45ab89675f (diff)
loplugin:indentation in sc
Change-Id: Ieafabbafde456edba5adbe1fd587c32f04aedb98 Reviewed-on: https://gerrit.libreoffice.org/67562 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/vba/vbaoleobjects.cxx')
-rw-r--r--sc/source/ui/vba/vbaoleobjects.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/vba/vbaoleobjects.cxx b/sc/source/ui/vba/vbaoleobjects.cxx
index 299f2f7e89ba..b01cab778d5f 100644
--- a/sc/source/ui/vba/vbaoleobjects.cxx
+++ b/sc/source/ui/vba/vbaoleobjects.cxx
@@ -43,7 +43,7 @@ public:
sal_Int32 nLen = xIndexAccess->getCount();
for ( sal_Int32 index = 0; index < nLen; ++index )
{
- uno::Reference< drawing::XControlShape > xControlShape( xIndexAccess->getByIndex( index), uno::UNO_QUERY);
+ uno::Reference< drawing::XControlShape > xControlShape( xIndexAccess->getByIndex( index), uno::UNO_QUERY);
if ( xControlShape.is() )
vObjects.push_back( xControlShape );
}
@@ -94,12 +94,12 @@ public:
virtual uno::Any SAL_CALL nextElement( ) override
{
- if ( nIndex < m_xIndexAccess->getCount() )
- {
- uno::Reference< drawing::XControlShape > xControlShape ( m_xIndexAccess->getByIndex( nIndex++ ), uno::UNO_QUERY_THROW );
+ if ( nIndex < m_xIndexAccess->getCount() )
+ {
+ uno::Reference< drawing::XControlShape > xControlShape ( m_xIndexAccess->getByIndex( nIndex++ ), uno::UNO_QUERY_THROW );
return uno::makeAny( uno::Reference< ov::excel::XOLEObject >( new ScVbaOLEObject( m_xParent, m_xContext, xControlShape ) ) );
- }
- throw container::NoSuchElementException();
+ }
+ throw container::NoSuchElementException();
}
};