diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-14 21:38:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-15 11:23:35 +0100 |
commit | 365a13d3c5fdc7713a37bd29046cbddc1248d5d0 (patch) | |
tree | ddcc4c72ffc9844870e27ad5b74e405e167feccb /forms/source/component | |
parent | 1a8349eee3a45e884a811276b8e253143eb37b48 (diff) |
make forms ByteString free
Diffstat (limited to 'forms/source/component')
-rw-r--r-- | forms/source/component/DatabaseForm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index 52c85ad4c789..ebe736192158 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -1050,7 +1050,7 @@ void ODatabaseForm::InsertTextPart( INetMIMEMessage& rParent, const ::rtl::OUStr // Body SvMemoryStream* pStream = new SvMemoryStream; - pStream->WriteLine( ByteString( UniString(rData), rtl_getTextEncodingFromMimeCharset(pBestMatchingEncoding) ) ); + pStream->WriteLine( rtl::OUStringToOString(rData, rtl_getTextEncodingFromMimeCharset(pBestMatchingEncoding)) ); pStream->Flush(); pStream->Seek( 0 ); pChild->SetDocumentLB( new SvLockBytes(pStream, sal_True) ); |