convert GetMangleName

This commit is contained in:
Caolán McNamara
2011-12-13 07:40:27 +00:00
parent 34cbfad1b2
commit 2338a8c9c5
4 changed files with 20 additions and 20 deletions

View File

@@ -189,7 +189,7 @@ public:
virtual sal_Bool IsVariable() const;
virtual sal_Bool IsMethod() const;
virtual ByteString GetMangleName( sal_Bool bVariable ) const;
virtual rtl::OString GetMangleName( sal_Bool bVariable ) const;
SvMetaAttribute * GetMethod() const;
SvMetaType * GetSlotType() const;

View File

@@ -103,7 +103,7 @@ public:
virtual sal_Bool IsMethod() const;
virtual sal_Bool IsVariable() const;
virtual ByteString GetMangleName( sal_Bool bVariable ) const;
virtual rtl::OString GetMangleName( sal_Bool bVariable ) const;
#ifdef IDL_COMPILER
@@ -178,12 +178,12 @@ protected:
public:
SV_DECL_META_FACTORY1( SvMetaType, SvMetaExtern, 18 )
SvMetaType();
SvMetaType( const ByteString & rTypeName, char cParserChar,
const ByteString & rCName );
SvMetaType( const ByteString & rTypeName, const ByteString & rSbxName,
const ByteString & rOdlName, char cParserChar,
const ByteString & rCName, const ByteString & rBasicName,
const ByteString & rBasicPostfix );
SvMetaType( const rtl::OString& rTypeName, char cParserChar,
const rtl::OString& rCName );
SvMetaType( const rtl::OString& rTypeName, const rtl::OString& rSbxName,
const rtl::OString& rOdlName, char cParserChar,
const rtl::OString& rCName, const rtl::OString& rBasicName,
const rtl::OString& rBasicPostfix );
SvMetaAttributeMemberList & GetAttrList() const;
sal_uLong GetAttrCount() const

View File

@@ -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 << "\"";
}

View File

@@ -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 );