From bc91cc47505c448ded7297074ccff809b59e8ed1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 10 May 2024 13:18:59 +0200 Subject: loplugin:ostr in svx Change-Id: Ia765a03e033acb82e367873380d289587ea87d6c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167449 Reviewed-by: Noel Grandin Tested-by: Jenkins --- svx/source/fmcomp/dbaexchange.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svx/source/fmcomp/dbaexchange.cxx') diff --git a/svx/source/fmcomp/dbaexchange.cxx b/svx/source/fmcomp/dbaexchange.cxx index 8b2c869fd611..d2b71656b0c3 100644 --- a/svx/source/fmcomp/dbaexchange.cxx +++ b/svx/source/fmcomp/dbaexchange.cxx @@ -106,7 +106,7 @@ namespace svx try { Reference< XTablesSupplier > xSupTab; - _rxForm->getPropertyValue("SingleSelectQueryComposer") >>= xSupTab; + _rxForm->getPropertyValue(u"SingleSelectQueryComposer"_ustr) >>= xSupTab; if(xSupTab.is()) { @@ -145,7 +145,7 @@ namespace svx static SotClipboardFormatId s_nFormat = static_cast(-1); if (static_cast(-1) == s_nFormat) { - s_nFormat = SotExchange::RegisterFormatName("application/x-openoffice;windows_formatname=\"dbaccess.ColumnDescriptorTransfer\""); + s_nFormat = SotExchange::RegisterFormatName(u"application/x-openoffice;windows_formatname=\"dbaccess.ColumnDescriptorTransfer\""_ustr); OSL_ENSURE(static_cast(-1) != s_nFormat, "OColumnTransferable::getDescriptorFormatId: bad exchange id!"); } return s_nFormat; @@ -575,7 +575,7 @@ namespace svx static SotClipboardFormatId s_nFormat = static_cast(-1); if (static_cast(-1) == s_nFormat) { - s_nFormat = SotExchange::RegisterFormatName("application/x-openoffice;windows_formatname=\"dbaccess.MultipleColumnDescriptorTransfer\""); + s_nFormat = SotExchange::RegisterFormatName(u"application/x-openoffice;windows_formatname=\"dbaccess.MultipleColumnDescriptorTransfer\""_ustr); OSL_ENSURE(static_cast(-1) != s_nFormat, "OColumnTransferable::getDescriptorFormatId: bad exchange id!"); } return s_nFormat; -- cgit