diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-03 15:12:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-04 08:55:56 +0200 |
commit | 2886f830a9c7871974f9afbc1fdc46bbae468811 (patch) | |
tree | b23c06ab94d5937502cfe0ee29c11aab557193b9 /idl/source | |
parent | c5b995bb09487e2b7626a5920506b07dff390203 (diff) |
idl,framework,forms: inline some use-once typedefs
Change-Id: Icb4908c274ec0778af7ed9fe2d935bf6723fedfb
Diffstat (limited to 'idl/source')
-rw-r--r-- | idl/source/objects/module.cxx | 2 | ||||
-rw-r--r-- | idl/source/objects/object.cxx | 2 | ||||
-rw-r--r-- | idl/source/objects/types.cxx | 2 | ||||
-rw-r--r-- | idl/source/prj/database.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/idl/source/objects/module.cxx b/idl/source/objects/module.cxx index 573fc6ddac27..c6e29449d8a1 100644 --- a/idl/source/objects/module.cxx +++ b/idl/source/objects/module.cxx @@ -97,7 +97,7 @@ void SvMetaModule::ReadContextSvIdl( SvIdlDataBase & rBase, } else if( rInStm.GetToken().Is( SvHash_enum() ) ) { - SvMetaTypeEnumRef aEnum = new SvMetaTypeEnum(); + tools::SvRef<SvMetaTypeEnum> aEnum = new SvMetaTypeEnum(); if( aEnum->ReadSvIdl( rBase, rInStm ) ) { diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx index fe9117da1979..1ce4378edab6 100644 --- a/idl/source/objects/object.cxx +++ b/idl/source/objects/object.cxx @@ -58,7 +58,7 @@ void SvMetaClass::ReadContextSvIdl( SvIdlDataBase & rBase, SvMetaClass * pClass = rBase.ReadKnownClass( rInStm ); if( pClass ) { - SvClassElementRef xEle = new SvClassElement(); + tools::SvRef<SvClassElement> xEle = new SvClassElement(); xEle->SetClass( pClass ); aClassList.push_back( xEle ); diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index 95a04f0e50e9..e87ea42e6fce 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -704,7 +704,7 @@ void SvMetaTypeEnum::ReadContextSvIdl( SvIdlDataBase & rBase, { sal_uInt32 nTokPos = rInStm.Tell(); - SvMetaEnumValueRef aEnumVal = new SvMetaEnumValue(); + tools::SvRef<SvMetaEnumValue> aEnumVal = new SvMetaEnumValue(); bool bOk = aEnumVal->ReadSvIdl( rBase, rInStm ); if( bOk ) { diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index 6030afd9e5ce..51f906c3a23e 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -587,7 +587,7 @@ bool SvIdlWorkingBase::ReadSvIdl( SvTokenStream & rInStm, bool bImported, const // only one import at the very beginning if( pTok->Is( SvHash_module() ) ) { - SvMetaModuleRef aModule = new SvMetaModule( bImported ); + tools::SvRef<SvMetaModule> aModule = new SvMetaModule( bImported ); if( aModule->ReadSvIdl( *this, rInStm ) ) GetModuleList().push_back( aModule ); else |