diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-18 23:12:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-19 09:59:23 +0100 |
commit | 2d4db01597c2b2df64aaa7ccbe42ed587faba838 (patch) | |
tree | 7fede048278517ef2e5b4d4132ed6ccbb5692ab0 /idl | |
parent | 5bc9435b02b0f3993624a5110b8b47c82da00b1e (diff) |
ByteString->rtl::OString
Diffstat (limited to 'idl')
-rw-r--r-- | idl/inc/database.hxx | 2 | ||||
-rw-r--r-- | idl/source/objects/object.cxx | 2 | ||||
-rw-r--r-- | idl/source/objects/types.cxx | 2 | ||||
-rw-r--r-- | idl/source/prj/database.cxx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx index c8ad5cf2bff7..80685e34b336 100644 --- a/idl/inc/database.hxx +++ b/idl/inc/database.hxx @@ -123,7 +123,7 @@ public: const String & GetPath() const { return aPath; } SvMetaObjectMemberStack & GetStack() { return aContextStack; } - void Write( const ByteString & rText ); + void Write(const rtl::OString& rText); void WriteError( const ByteString & rErrWrn, const ByteString & rFileName, const rtl::OString& rErrorText, diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx index 8308d50625ec..a393ee1c98b9 100644 --- a/idl/source/objects/object.cxx +++ b/idl/source/objects/object.cxx @@ -309,7 +309,7 @@ sal_Bool SvMetaClass::ReadSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm ) } if( bOk ) { - rBase.Write( '.' ); + rBase.Write(rtl::OString('.')); bOk = SvMetaName::ReadSvIdl( rBase, rInStm ); } if( bOk ) diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index d57d3cb0e33f..625b06678a8f 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -1125,7 +1125,7 @@ sal_Bool SvMetaType::ReadSvIdl( SvIdlDataBase & rBase, { if( ReadHeaderSvIdl( rBase, rInStm ) ) { - rBase.Write( '.' ); + rBase.Write(rtl::OString('.')); return SvMetaExtern::ReadSvIdl( rBase, rInStm ); } return sal_False; diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index fa37d2d003a3..5761a459c50e 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -534,10 +534,10 @@ SvMetaClass * SvIdlDataBase::ReadKnownClass( SvTokenStream & rInStm ) return NULL; } -void SvIdlDataBase::Write( const ByteString & rText ) +void SvIdlDataBase::Write(const rtl::OString& rText) { if( nVerbosity != 0 ) - fprintf( stdout, "%s", rText.GetBuffer() ); + fprintf( stdout, "%s", rText.getStr() ); } void SvIdlDataBase::WriteError( const ByteString & rErrWrn, |