summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-18 23:12:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-19 09:59:23 +0100
commit2d4db01597c2b2df64aaa7ccbe42ed587faba838 (patch)
tree7fede048278517ef2e5b4d4132ed6ccbb5692ab0 /idl
parent5bc9435b02b0f3993624a5110b8b47c82da00b1e (diff)
ByteString->rtl::OString
Diffstat (limited to 'idl')
-rw-r--r--idl/inc/database.hxx2
-rw-r--r--idl/source/objects/object.cxx2
-rw-r--r--idl/source/objects/types.cxx2
-rw-r--r--idl/source/prj/database.cxx4
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,