diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-13 07:40:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-13 10:11:43 +0000 |
commit | 2338a8c9c53d84e269ee85843bf7bb6a0015ea2d (patch) | |
tree | 02f2bb1f37cbbd99cbe30f620b28f8e444e09cbd /idl/source | |
parent | 34cbfad1b27cf28c10974f8170abe00e824f4a9d (diff) |
convert GetMangleName
Diffstat (limited to 'idl/source')
-rw-r--r-- | idl/source/objects/slot.cxx | 6 | ||||
-rw-r--r-- | idl/source/objects/types.cxx | 18 |
2 files changed, 12 insertions, 12 deletions
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index 36115d918aab..d24a2a271012 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -300,7 +300,7 @@ sal_Bool SvMetaSlot::IsMethod() const return b; } -ByteString SvMetaSlot::GetMangleName( sal_Bool bVariable ) const +rtl::OString SvMetaSlot::GetMangleName( sal_Bool bVariable ) const { if( !bVariable ) { @@ -1393,7 +1393,7 @@ void SvMetaSlot::WriteSlot( const ByteString & rShellName, sal_uInt16 nCount, rOutStm << '.'; if ( !IsVariable() || !GetType() || GetType()->GetBaseType()->GetType() != TYPE_STRUCT ) - rOutStm << GetMangleName( sal_False ).GetBuffer(); + rOutStm << GetMangleName( sal_False ).getStr(); rOutStm << "\","; } else @@ -1414,7 +1414,7 @@ void SvMetaSlot::WriteSlot( const ByteString & rShellName, sal_uInt16 nCount, { rOutStm << ",\""; - rOutStm << GetMangleName( sal_False ).GetBuffer(); + rOutStm << GetMangleName( sal_False ).getStr(); rOutStm << "\""; } diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index 6f364fc3bf08..fa6d473a0f1f 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -183,7 +183,7 @@ sal_Bool SvMetaAttribute::IsVariable() const return pType->GetType() != TYPE_METHOD; } -ByteString SvMetaAttribute::GetMangleName( sal_Bool ) const +rtl::OString SvMetaAttribute::GetMangleName( sal_Bool ) const { return GetName(); } @@ -769,8 +769,8 @@ SvMetaType::SvMetaType() { } -SvMetaType::SvMetaType( const ByteString & rName, char cPC, - const ByteString & rCName ) +SvMetaType::SvMetaType( const rtl::OString& rName, char cPC, + const rtl::OString& rCName ) CTOR { SetName( rName ); @@ -778,13 +778,13 @@ SvMetaType::SvMetaType( const ByteString & rName, char cPC, aCName = rCName; } -SvMetaType::SvMetaType( const ByteString & rName, - const ByteString & rSbxName, - const ByteString & rOdlName, +SvMetaType::SvMetaType( const rtl::OString& rName, + const rtl::OString& rSbxName, + const rtl::OString& rOdlName, char cPc, - const ByteString & rCName, - const ByteString & rBasicName, - const ByteString & rBasicPostfix ) + const rtl::OString& rCName, + const rtl::OString& rBasicName, + const rtl::OString& rBasicPostfix ) CTOR { SetName( rName ); |