diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-05 15:20:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-06 06:27:51 +0100 |
commit | 7b99cdb2d77a3feaf9b782c1e656f2d922e2746e (patch) | |
tree | 180459dcd8379ee1a2e89098a4d9eda72abe8f05 /include | |
parent | 7ee07296a66df29555c9e9a684f24bc68201cb78 (diff) |
loplugin:indentation find broken if statements
so I don't read the "then" block as being a sequential statements
Change-Id: Ib2004acd3518bd4ebd2246f02a26c2c0a8bbab4c
Reviewed-on: https://gerrit.libreoffice.org/82069
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/typelib/typedescription.h | 2 | ||||
-rw-r--r-- | include/vbahelper/vbacollectionimpl.hxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/typelib/typedescription.h b/include/typelib/typedescription.h index d3e18b8fee42..329384c5d172 100644 --- a/include/typelib/typedescription.h +++ b/include/typelib/typedescription.h @@ -1009,7 +1009,7 @@ inline void TYPELIB_DANGER_GET( typelib_TypeDescription** ppMacroTypeDescr, { typelib_typedescriptionreference_getDescription( ppMacroTypeDescr, pMacroTypeRef ); if (*ppMacroTypeDescr) - typelib_typedescription_release( *ppMacroTypeDescr ); + typelib_typedescription_release( *ppMacroTypeDescr ); } else { diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx index f545bb5c48c8..05c9e37bf638 100644 --- a/include/vbahelper/vbacollectionimpl.hxx +++ b/include/vbahelper/vbacollectionimpl.hxx @@ -166,9 +166,9 @@ private: virtual css::uno::Any SAL_CALL nextElement( ) override { - if ( hasMoreElements() ) - return css::uno::makeAny( *mIt++ ); - throw css::container::NoSuchElementException(); + if ( hasMoreElements() ) + return css::uno::makeAny( *mIt++ ); + throw css::container::NoSuchElementException(); } }; |