summaryrefslogtreecommitdiff
path: root/idl/inc/object.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-26 09:46:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-26 11:10:41 +0000
commit12088021a0cebc2569b3e0f2e90e4f338d4d601b (patch)
tree44237f1a630edc63de12828f475304871fd9621f /idl/inc/object.hxx
parent5cc2997f0e9b20a5aa91b61dea6070189b0a584a (diff)
ByteString->rtl::OString
Diffstat (limited to 'idl/inc/object.hxx')
-rw-r--r--idl/inc/object.hxx21
1 files changed, 11 insertions, 10 deletions
diff --git a/idl/inc/object.hxx b/idl/inc/object.hxx
index 5319f41226be..a5d8432f0379 100644
--- a/idl/inc/object.hxx
+++ b/idl/inc/object.hxx
@@ -36,11 +36,12 @@
struct SvSlotElement
{
SvMetaSlotRef xSlot;
- ByteString aPrefix;
- SvSlotElement( SvMetaSlot * pS, const ByteString & rPrefix )
- : xSlot( pS )
- , aPrefix( rPrefix )
- {}
+ rtl::OString aPrefix;
+ SvSlotElement( SvMetaSlot * pS, const rtl::OString& rPrefix )
+ : xSlot( pS )
+ , aPrefix( rPrefix )
+ {
+ }
};
typedef std::vector< SvSlotElement* > SvSlotElementList;
@@ -51,15 +52,15 @@ SV_DECL_REF(SvMetaClass)
class SvClassElement : public SvPersistBase
{
SvBOOL aAutomation;
- ByteString aPrefix;
+ rtl::OString aPrefix;
SvMetaClassRef xClass;
public:
SV_DECL_PERSIST1( SvClassElement, SvPersistBase, 1 )
SvClassElement();
- void SetPrefix( const ByteString & rPrefix )
+ void SetPrefix( const rtl::OString& rPrefix )
{ aPrefix = rPrefix; }
- const ByteString & GetPrefix() const
+ const rtl::OString& GetPrefix() const
{ return aPrefix; }
void SetAutomation( sal_Bool rAutomation )
@@ -88,14 +89,14 @@ class SvMetaClass : public SvMetaType
sal_Bool TestAttribute( SvIdlDataBase & rBase, SvTokenStream & rInStm,
SvMetaAttribute & rAttr ) const;
- void WriteSlotStubs( const ByteString & rShellName,
+ void WriteSlotStubs( const rtl::OString& rShellName,
SvSlotElementList & rSlotList,
ByteStringList & rList,
SvStream & rOutStm );
sal_uInt16 WriteSlotParamArray( SvIdlDataBase & rBase,
SvSlotElementList & rSlotList,
SvStream & rOutStm );
- sal_uInt16 WriteSlots( const ByteString & rShellName, sal_uInt16 nCount,
+ sal_uInt16 WriteSlots( const rtl::OString& rShellName, sal_uInt16 nCount,
SvSlotElementList & rSlotList,
SvIdlDataBase & rBase,
SvStream & rOutStm );