diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-01-23 10:02:13 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-01-23 10:16:30 +0000 |
commit | 319a466ad2a20d3170511a96ad16f4386ed0216b (patch) | |
tree | 1e2a5617b1e47c18235a151b7e770cffcf8dccee /sw/source/ui/vba/vbatabstops.cxx | |
parent | b706b04110d9305b319689a5577746fac3e0e4c3 (diff) |
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 <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/ui/vba/vbatabstops.cxx')
-rw-r--r-- | sw/source/ui/vba/vbatabstops.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
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(); } |