diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-06-04 09:52:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-06-04 14:34:45 +0200 |
commit | 87e8e79da0769fbc37a274049d31da07359713f4 (patch) | |
tree | 1fe577591c2258847636f3c7b694e17e575e5a53 /sw/source/uibase/shells/textdrw.cxx | |
parent | 199ffecd9586d3a8c3365bdbc979c93600f25899 (diff) |
loplugin:ostr in sw/.../shells
Change-Id: Ie8d62b127cfa521d28dbd26073e4d6d89dfdcdf7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168396
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/uibase/shells/textdrw.cxx')
-rw-r--r-- | sw/source/uibase/shells/textdrw.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/uibase/shells/textdrw.cxx b/sw/source/uibase/shells/textdrw.cxx index 881468c5d717..a4d075daef3b 100644 --- a/sw/source/uibase/shells/textdrw.cxx +++ b/sw/source/uibase/shells/textdrw.cxx @@ -85,7 +85,7 @@ void SwBaseShell::InsertURLButton(const OUString& rURL, const OUString& rTarget, uno::Any aTmp; aTmp <<= rText; - xPropSet->setPropertyValue( "Label", aTmp ); + xPropSet->setPropertyValue( u"Label"_ustr, aTmp ); SfxMedium* pMedium = rSh.GetView().GetDocShell()->GetMedium(); INetURLObject aAbs; @@ -93,23 +93,23 @@ void SwBaseShell::InsertURLButton(const OUString& rURL, const OUString& rTarget, aAbs = pMedium->GetURLObject(); aTmp <<= URIHelper::SmartRel2Abs(aAbs, rURL); - xPropSet->setPropertyValue( "TargetURL", aTmp ); + xPropSet->setPropertyValue( u"TargetURL"_ustr, aTmp ); if( !rTarget.isEmpty() ) { aTmp <<= rTarget; - xPropSet->setPropertyValue( "TargetFrame", aTmp ); + xPropSet->setPropertyValue( u"TargetFrame"_ustr, aTmp ); } aTmp <<= form::FormButtonType_URL; - xPropSet->setPropertyValue( "ButtonType", aTmp ); + xPropSet->setPropertyValue( u"ButtonType"_ustr, aTmp ); #if HAVE_FEATURE_AVMEDIA - if ( ::avmedia::MediaWindow::isMediaURL( rURL, ""/*TODO?*/ ) ) + if ( ::avmedia::MediaWindow::isMediaURL( rURL, u""_ustr/*TODO?*/ ) ) { // #105638# OJ aTmp <<= true; - xPropSet->setPropertyValue("DispatchURLInternal", aTmp ); + xPropSet->setPropertyValue(u"DispatchURLInternal"_ustr, aTmp ); } #endif } |