diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-08 12:29:39 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-09 13:22:18 +0100 |
commit | fbaf865ffc5db1ed1094fec608e6b2472437e066 (patch) | |
tree | 1740d009fae33b628286eda9b24c11f722723780 /basic/source/sbx/sbxvar.cxx | |
parent | 674bbddf720b14d1f7d173e6b5f3e08d65618ab9 (diff) |
Drop "32" from names of SbxArray methods taking 32-bit indices
... a leftover from times when there were methods for 16-bit
as well as for 32-bit indices. 16-bit indices were removed in
commit 62f3f3d92aa204eaaa063b30d7ade44df501b997.
Change-Id: Idf8b1160e68e8b303cf75ea79dd7dbb3bd00275d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112187
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'basic/source/sbx/sbxvar.cxx')
-rw-r--r-- | basic/source/sbx/sbxvar.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index a79a617af3dd..77da97900f6c 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -146,7 +146,7 @@ void SbxVariable::Broadcast( SfxHintId nHintId ) if( mpPar.is() ) { // Register this as element 0, but don't change over the parent! - mpPar->GetRef32( 0 ) = this; + mpPar->GetRef(0) = this; } pSave->Broadcast( SbxHint( nHintId, this ) ); mpBroadcaster = std::move(pSave); @@ -340,9 +340,9 @@ void SbxVariable::SetParent( SbxObject* p ) SbxArray *pChildren = p->GetObjects(); if ( pChildren ) { - for ( sal_uInt32 nIdx = 0; !bFound && nIdx < pChildren->Count32(); ++nIdx ) + for (sal_uInt32 nIdx = 0; !bFound && nIdx < pChildren->Count(); ++nIdx) { - bFound = ( this == pChildren->Get32(nIdx) ); + bFound = (this == pChildren->Get(nIdx)); } } SAL_INFO_IF( |