summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp/dbaobjectex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/fmcomp/dbaobjectex.cxx')
-rw-r--r--svx/source/fmcomp/dbaobjectex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/fmcomp/dbaobjectex.cxx b/svx/source/fmcomp/dbaobjectex.cxx
index 36e5586d9d3c..9a89732ff71b 100644
--- a/svx/source/fmcomp/dbaobjectex.cxx
+++ b/svx/source/fmcomp/dbaobjectex.cxx
@@ -71,12 +71,12 @@ namespace svx
static sal_uInt32 s_nFormFormat = (sal_uInt32)-1;
if ( _bExtractForm && (sal_uInt32)-1 == s_nFormFormat )
{
- s_nFormFormat = SotExchange::RegisterFormatName(String::CreateFromAscii("application/x-openoffice;windows_formatname=\"dbaccess.FormComponentDescriptorTransfer\"" ));
+ s_nFormFormat = SotExchange::RegisterFormatName(rtl::OUString("application/x-openoffice;windows_formatname=\"dbaccess.FormComponentDescriptorTransfer\"" ));
OSL_ENSURE((sal_uInt32)-1 != s_nFormFormat, "OComponentTransferable::getDescriptorFormatId: bad exchange id!");
}
else if ( !_bExtractForm && (sal_uInt32)-1 == s_nReportFormat)
{
- s_nReportFormat = SotExchange::RegisterFormatName(String::CreateFromAscii("application/x-openoffice;windows_formatname=\"dbaccess.ReportComponentDescriptorTransfer\""));
+ s_nReportFormat = SotExchange::RegisterFormatName(rtl::OUString("application/x-openoffice;windows_formatname=\"dbaccess.ReportComponentDescriptorTransfer\""));
OSL_ENSURE((sal_uInt32)-1 != s_nReportFormat, "OComponentTransferable::getDescriptorFormatId: bad exchange id!");
}
return _bExtractForm ? s_nFormFormat : s_nReportFormat;