summaryrefslogtreecommitdiff
path: root/idl/source/objects/bastype.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idl/source/objects/bastype.cxx')
-rw-r--r--idl/source/objects/bastype.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/idl/source/objects/bastype.cxx b/idl/source/objects/bastype.cxx
index 365d5f3ba910..7cefabc45ab3 100644
--- a/idl/source/objects/bastype.cxx
+++ b/idl/source/objects/bastype.cxx
@@ -222,19 +222,19 @@ sal_Bool SvIdentifier::WriteSvIdl( SvStringHashEntry * pName,
sal_uInt16 /*nTab */ )
{
rOutStm << pName->GetName().GetBuffer() << '(';
- rOutStm << GetBuffer() << ')';
+ rOutStm << getIdentifier().GetBuffer() << ')';
return sal_True;
}
SvStream& operator << (SvStream & rStm, const SvIdentifier & r )
{
- write_lenPrefixed_uInt8s_FromOString<sal_uInt16>(rStm, r);
+ write_lenPrefixed_uInt8s_FromOString<sal_uInt16>(rStm, r.getIdentifier());
return rStm;
}
SvStream& operator >> (SvStream & rStm, SvIdentifier & r )
{
- r = read_lenPrefixed_uInt8s_ToOString<sal_uInt16>(rStm);
+ r.setIdentifier(read_lenPrefixed_uInt8s_ToOString<sal_uInt16>(rStm));
return rStm;
}
@@ -246,7 +246,7 @@ sal_Bool SvNumberIdentifier::ReadSvIdl( SvIdlDataBase & rBase,
if( SvIdentifier::ReadSvIdl( pName, rInStm ) )
{
sal_uLong n;
- if( rBase.FindId( *this, &n ) )
+ if( rBase.FindId( getIdentifier(), &n ) )
{
nValue = n;
return sal_True;
@@ -254,7 +254,7 @@ sal_Bool SvNumberIdentifier::ReadSvIdl( SvIdlDataBase & rBase,
else
{
ByteString aStr ("no value for identifier <");
- aStr += *this;
+ aStr += getIdentifier();
aStr += "> ";
rBase.SetError( aStr, rInStm.GetToken() );
rBase.WriteError( rInStm );
@@ -281,7 +281,7 @@ sal_Bool SvNumberIdentifier::ReadSvIdl( SvIdlDataBase & rBase,
else
{
ByteString aStr ("no value for identifier <");
- aStr += *this;
+ aStr += getIdentifier();
aStr += "> ";
rBase.SetError( aStr, rInStm.GetToken() );
rBase.WriteError( rInStm );