summaryrefslogtreecommitdiff
path: root/idl/source/prj/database.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idl/source/prj/database.cxx')
-rw-r--r--idl/source/prj/database.cxx20
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 );
}