diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-09 09:37:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-09 09:43:53 +0200 |
commit | 3c14d8fd4c0ca3fb034a137436d0b0e584e2ab2e (patch) | |
tree | 77aff62c0c6ea5157651c3a828a1824b44cbe1f9 /idl/source/prj/database.cxx | |
parent | cfa4ba4b2b7138f7b95fb725866ed37155ccceee (diff) |
rename aAttrList to aSlotList
since that is a more accurate reflection of it's use
Change-Id: Ic5933e5cdeefac7363975a5767be3ee5db99bd56
Diffstat (limited to 'idl/source/prj/database.cxx')
-rw-r--r-- | idl/source/prj/database.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index 52f375118463..865ad4778250 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -332,11 +332,11 @@ SvMetaAttribute * SvIdlDataBase::ReadKnownAttr sal_uLong n; if( FindId( pTok->GetString(), &n ) ) { - for( sal_uLong i = 0; i < aAttrList.size(); i++ ) + for( sal_uLong i = 0; i < aSlotList.size(); i++ ) { - SvMetaAttribute * pAttr = aAttrList[i]; - if( pAttr->GetSlotId().getString().equals(pTok->GetString()) ) - return pAttr; + SvMetaSlot * pSlot = aSlotList[i]; + if( pSlot->GetSlotId().getString().equals(pTok->GetString()) ) + return pSlot; } } @@ -358,11 +358,11 @@ SvMetaAttribute* SvIdlDataBase::SearchKnownAttr sal_uLong n; if( FindId( rId.getString(), &n ) ) { - for( sal_uLong i = 0; i < aAttrList.size(); i++ ) + for( sal_uLong i = 0; i < aSlotList.size(); i++ ) { - SvMetaAttribute * pAttr = aAttrList[i]; - if( pAttr->GetSlotId().getString() == rId.getString() ) - return pAttr; + SvMetaSlot * pSlot = aSlotList[i]; + if( pSlot->GetSlotId().getString() == rId.getString() ) + return pSlot; } } @@ -572,9 +572,9 @@ void SvIdlDataBase::StartNewFile( const OUString& rName ) assert ( !bExport ); } -void SvIdlDataBase::AppendAttr( SvMetaAttribute *pAttr ) +void SvIdlDataBase::AppendSlot( SvMetaSlot *pSlot ) { - aAttrList.push_back( pAttr ); + aSlotList.push_back( pSlot ); assert ( !bExport ); } |