diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-05-15 09:03:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-05-15 12:05:47 +0100 |
commit | 9b71aa0de186d534f4dc79b587f0cd6d8e17e590 (patch) | |
tree | 51e5e389120cab2f6e170a7d6aedded1558c351f /forms/source/component | |
parent | 844bba4bb44966a1d27f55c4e511eb7f5887d147 (diff) |
convert GetUndoActionComment family to rtl::OUString
Change-Id: I36ccf62ee2e2769bcf1aef6d26d96bce6c7078f0
Diffstat (limited to 'forms/source/component')
-rw-r--r-- | forms/source/component/DatabaseForm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index 7a6e75881fee..a41fd7cd5d39 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -1030,7 +1030,7 @@ void ODatabaseForm::InsertTextPart( INetMIMEMessage& rParent, const ::rtl::OUStr aContentDisp += rName; aContentDisp += UniString('\"'); pChild->SetContentDisposition( aContentDisp ); - pChild->SetContentType( UniString::CreateFromAscii("text/plain") ); + pChild->SetContentType(::rtl::OUString("text/plain")); rtl_TextEncoding eSystemEncoding = osl_getThreadTextEncoding(); const sal_Char* pBestMatchingEncoding = rtl_getBestMimeCharsetFromTextEncoding( eSystemEncoding ); @@ -1098,7 +1098,7 @@ sal_Bool ODatabaseForm::InsertFilePart( INetMIMEMessage& rParent, const ::rtl::O aContentDisp += UniString('\"'); pChild->SetContentDisposition( aContentDisp ); pChild->SetContentType( aContentType ); - pChild->SetContentTransferEncoding( UniString(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("8bit") ) ) ); + pChild->SetContentTransferEncoding(::rtl::OUString("8bit")); // Body |