diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-10 13:18:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-11 12:41:09 +0200 |
commit | bc91cc47505c448ded7297074ccff809b59e8ed1 (patch) | |
tree | ddd3d33ff41ae6021738a0dcda4f9dbb5c177dea /svx/source/fmcomp/dbaobjectex.cxx | |
parent | 28a43d53b25c183a7997cc18819d6ee0c675df19 (diff) |
loplugin:ostr in svx
Change-Id: Ia765a03e033acb82e367873380d289587ea87d6c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167449
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'svx/source/fmcomp/dbaobjectex.cxx')
-rw-r--r-- | svx/source/fmcomp/dbaobjectex.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/fmcomp/dbaobjectex.cxx b/svx/source/fmcomp/dbaobjectex.cxx index 0f0f97c0ba70..dcce809dfc07 100644 --- a/svx/source/fmcomp/dbaobjectex.cxx +++ b/svx/source/fmcomp/dbaobjectex.cxx @@ -58,12 +58,12 @@ namespace svx static SotClipboardFormatId s_nFormFormat = static_cast<SotClipboardFormatId>(-1); if ( _bExtractForm && static_cast<SotClipboardFormatId>(-1) == s_nFormFormat ) { - s_nFormFormat = SotExchange::RegisterFormatName("application/x-openoffice;windows_formatname=\"dbaccess.FormComponentDescriptorTransfer\""); + s_nFormFormat = SotExchange::RegisterFormatName(u"application/x-openoffice;windows_formatname=\"dbaccess.FormComponentDescriptorTransfer\""_ustr); OSL_ENSURE(static_cast<SotClipboardFormatId>(-1) != s_nFormFormat, "OComponentTransferable::getDescriptorFormatId: bad exchange id!"); } else if ( !_bExtractForm && static_cast<SotClipboardFormatId>(-1) == s_nReportFormat) { - s_nReportFormat = SotExchange::RegisterFormatName("application/x-openoffice;windows_formatname=\"dbaccess.ReportComponentDescriptorTransfer\""); + s_nReportFormat = SotExchange::RegisterFormatName(u"application/x-openoffice;windows_formatname=\"dbaccess.ReportComponentDescriptorTransfer\""_ustr); OSL_ENSURE(static_cast<SotClipboardFormatId>(-1) != s_nReportFormat, "OComponentTransferable::getDescriptorFormatId: bad exchange id!"); } return _bExtractForm ? s_nFormFormat : s_nReportFormat; @@ -78,7 +78,7 @@ namespace svx Reference<XPropertySet> xProp; m_aDescriptor[DataAccessDescriptorProperty::Component] >>= xProp; if ( xProp.is() ) - xProp->getPropertyValue("IsForm") >>= bForm; + xProp->getPropertyValue(u"IsForm"_ustr) >>= bForm; } catch(const Exception&) {} |