From 319a466ad2a20d3170511a96ad16f4386ed0216b Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 23 Jan 2023 10:02:13 +0100 Subject: sw: prefix members of SwVbaReadFieldParams, TabStopsEnumWrapper, ... ... TableCollectionHelper and TablesOfContentsEnumWrapper See tdf#94879 for motivation. Change-Id: I444cee4e834f08f422d5006022c4db552942ad35 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145997 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- sw/source/ui/vba/vbatabstops.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sw/source/ui/vba/vbatabstops.cxx') diff --git a/sw/source/ui/vba/vbatabstops.cxx b/sw/source/ui/vba/vbatabstops.cxx index c5716c4c184c..7d2d86824a29 100644 --- a/sw/source/ui/vba/vbatabstops.cxx +++ b/sw/source/ui/vba/vbatabstops.cxx @@ -49,22 +49,22 @@ namespace { class TabStopsEnumWrapper : public EnumerationHelper_BASE { uno::Reference< container::XIndexAccess > mxIndexAccess; - sal_Int32 nIndex; + sal_Int32 m_nIndex; public: - explicit TabStopsEnumWrapper( uno::Reference< container::XIndexAccess > xIndexAccess ) : mxIndexAccess(std::move( xIndexAccess )), nIndex( 0 ) + explicit TabStopsEnumWrapper( uno::Reference< container::XIndexAccess > xIndexAccess ) : mxIndexAccess(std::move( xIndexAccess )), m_nIndex( 0 ) { } virtual sal_Bool SAL_CALL hasMoreElements( ) override { - return ( nIndex < mxIndexAccess->getCount() ); + return ( m_nIndex < mxIndexAccess->getCount() ); } virtual uno::Any SAL_CALL nextElement( ) override { - if( nIndex < mxIndexAccess->getCount() ) + if( m_nIndex < mxIndexAccess->getCount() ) { - return mxIndexAccess->getByIndex( nIndex++ ); + return mxIndexAccess->getByIndex( m_nIndex++ ); } throw container::NoSuchElementException(); } -- cgit