diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-08 13:25:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-08 14:00:38 +0200 |
commit | d61b45016ee4048068b8410c5e2635e8d84f9849 (patch) | |
tree | 16596fe4ec1c98ef4f664decd8103bfa1b20201a /idl/source/objects/types.cxx | |
parent | 04e22bee0a79008a39dc9d78a460941f738020a6 (diff) |
SvString is a just thin wrapper around OString
eliminate it
Change-Id: Icb91d25cc7bffb3060b9392f71d37e5a95844aa3
Diffstat (limited to 'idl/source/objects/types.cxx')
-rw-r--r-- | idl/source/objects/types.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index 07f7260790cf..4707344347d9 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -65,7 +65,7 @@ bool SvMetaAttribute::IsVariable() const OString SvMetaAttribute::GetMangleName( bool ) const { - return GetName().getString(); + return GetName(); } bool SvMetaAttribute::Test( SvIdlDataBase & rBase, @@ -139,7 +139,7 @@ sal_uLong SvMetaAttribute::MakeSfx( OStringBuffer& rAttrArray ) rAttrArray.append('{'); rAttrArray.append(GetSlotId().getString()); rAttrArray.append(",\""); - rAttrArray.append(GetName().getString()); + rAttrArray.append(GetName()); rAttrArray.append("\"}"); return 1; } @@ -350,9 +350,9 @@ void SvMetaType::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm ) if( IsItem() ) { if( GetBaseType()->GetType() == MetaTypeType::Struct ) - GetBaseType()->WriteSfxItem( GetName().getString(), rBase, rOutStm ); + GetBaseType()->WriteSfxItem( GetName(), rBase, rOutStm ); else - WriteSfxItem( GetName().getString(), rBase, rOutStm ); + WriteSfxItem( GetName(), rBase, rOutStm ); } } @@ -420,11 +420,11 @@ void SvMetaTypeEnum::ReadContextSvIdl( SvIdlDataBase & rBase, if( aEnumValueList.empty() ) { // the first - aPrefix = aEnumVal->GetName().getString(); + aPrefix = aEnumVal->GetName(); } else { - aPrefix = getCommonSubPrefix(aPrefix, aEnumVal->GetName().getString()); + aPrefix = getCommonSubPrefix(aPrefix, aEnumVal->GetName()); } aEnumValueList.push_back( aEnumVal ); } |