summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-14 21:38:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-15 11:23:35 +0100
commit365a13d3c5fdc7713a37bd29046cbddc1248d5d0 (patch)
treeddcc4c72ffc9844870e27ad5b74e405e167feccb /forms
parent1a8349eee3a45e884a811276b8e253143eb37b48 (diff)
make forms ByteString free
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/DatabaseForm.cxx2
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) );