summaryrefslogtreecommitdiff
path: root/idl/inc/bastype.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'idl/inc/bastype.hxx')
-rw-r--r--idl/inc/bastype.hxx20
1 files changed, 15 insertions, 5 deletions
diff --git a/idl/inc/bastype.hxx b/idl/inc/bastype.hxx
index 7fdeafd36a33..d52a38b9a81e 100644
--- a/idl/inc/bastype.hxx
+++ b/idl/inc/bastype.hxx
@@ -156,16 +156,26 @@ public:
};
-class SvIdentifier : public ByteString
+class SvIdentifier
{
+private:
+ ByteString m_aStr;
public:
- SvIdentifier(){};
- SvIdentifier & operator = ( const ByteString & rStr )
- { ByteString::operator =( rStr ); return *this; }
+ SvIdentifier()
+ {
+ }
+ void setIdentifier(const ByteString & rStr)
+ {
+ m_aStr = rStr;
+ }
+ const ByteString& getIdentifier() const
+ {
+ return m_aStr;
+ }
friend SvStream& operator << (SvStream &, const SvIdentifier &);
friend SvStream& operator >> (SvStream &, SvIdentifier &);
- sal_Bool IsSet() const { return Len() != 0; }
+ sal_Bool IsSet() const { return m_aStr.Len() != 0; }
sal_Bool ReadSvIdl( SvStringHashEntry * pName, SvTokenStream & rInStm );
sal_Bool WriteSvIdl( SvStringHashEntry * pName, SvStream & rOutStm,
sal_uInt16 nTab );