summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh/wrtsh3.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-06-10 10:36:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-06-10 12:15:17 +0200
commit18ef391582e1f8db5838dfc1aaff36f78ce51447 (patch)
tree34f19156e59bf0bf08a9b05102849332cf465684 /sw/source/uibase/wrtsh/wrtsh3.cxx
parentd25de4a04671c2f380fc86a58259b073c49dfe19 (diff)
loplugin:ostr in sw/../uibase
Change-Id: I4f4284b55d481caa006743688e6d83cc3c713b5c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168601 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/wrtsh/wrtsh3.cxx')
-rw-r--r--sw/source/uibase/wrtsh/wrtsh3.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh3.cxx b/sw/source/uibase/wrtsh/wrtsh3.cxx
index 0907794d7c2c..d441dcf89659 100644
--- a/sw/source/uibase/wrtsh/wrtsh3.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh3.cxx
@@ -358,15 +358,15 @@ bool SwWrtShell::GetURLFromButton( OUString& rURL, OUString& rDescr ) const
uno::Any aTmp;
uno::Reference< beans::XPropertySetInfo > xInfo = xPropSet->getPropertySetInfo();
- if(xInfo->hasPropertyByName( "ButtonType" ))
+ if(xInfo->hasPropertyByName( u"ButtonType"_ustr ))
{
- aTmp = xPropSet->getPropertyValue( "ButtonType" );
+ aTmp = xPropSet->getPropertyValue( u"ButtonType"_ustr );
form::FormButtonType eTmpButtonType;
aTmp >>= eTmpButtonType;
if( form::FormButtonType_URL == eTmpButtonType)
{
// Label
- aTmp = xPropSet->getPropertyValue( "Label" );
+ aTmp = xPropSet->getPropertyValue( u"Label"_ustr );
OUString uTmp;
if( (aTmp >>= uTmp) && !uTmp.isEmpty())
{
@@ -374,7 +374,7 @@ bool SwWrtShell::GetURLFromButton( OUString& rURL, OUString& rDescr ) const
}
// util::URL
- aTmp = xPropSet->getPropertyValue( "TargetURL" );
+ aTmp = xPropSet->getPropertyValue( u"TargetURL"_ustr );
if( (aTmp >>= uTmp) && !uTmp.isEmpty())
{
rURL = uTmp;