summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-23 10:43:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-23 13:42:19 +0200
commite48deb1d36d2c237badc4d2d8ce6d3be6a1685b2 (patch)
tree25fdf0bf6ce44dd29879723666b1c3e01b45de5d /comphelper
parent3d9f291cd336dc59d8582e349d5f9e8e86776703 (diff)
loplugin:returnconstval in comphelper
Change-Id: I6e8d45e4d5e6223ffa7ae844a8bd46eae8e1f3c8 Reviewed-on: https://gerrit.libreoffice.org/78000 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/accimplaccess.cxx2
-rw-r--r--comphelper/source/misc/backupfilehelper.cxx2
-rw-r--r--comphelper/source/misc/sequenceashashmap.cxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx
index 8d06e1b91c6e..71a12c8a7e98 100644
--- a/comphelper/source/misc/accimplaccess.cxx
+++ b/comphelper/source/misc/accimplaccess.cxx
@@ -38,7 +38,7 @@ namespace comphelper
{
}
- const Sequence< sal_Int8 > OAccessibleImplementationAccess::getUnoTunnelImplementationId()
+ Sequence< sal_Int8 > OAccessibleImplementationAccess::getUnoTunnelImplementationId()
{
static cppu::OImplementationId implID;
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx
index 113edfbea845..268432df3c99 100644
--- a/comphelper/source/misc/backupfilehelper.cxx
+++ b/comphelper/source/misc/backupfilehelper.cxx
@@ -2203,7 +2203,7 @@ namespace comphelper
/////////////////// helpers ///////////////////////
- const OUString BackupFileHelper::getPackURL()
+ OUString BackupFileHelper::getPackURL()
{
return OUString(maUserConfigWorkURL + "/pack");
}
diff --git a/comphelper/source/misc/sequenceashashmap.cxx b/comphelper/source/misc/sequenceashashmap.cxx
index 0ba26b689a71..eb78e60c55d2 100644
--- a/comphelper/source/misc/sequenceashashmap.cxx
+++ b/comphelper/source/misc/sequenceashashmap.cxx
@@ -180,7 +180,7 @@ void SequenceAsHashMap::operator>>(css::uno::Sequence< css::beans::NamedValue >&
}
}
-const css::uno::Any SequenceAsHashMap::getAsConstAny(bool bAsPropertyValueList) const
+css::uno::Any SequenceAsHashMap::getAsConstAny(bool bAsPropertyValueList) const
{
css::uno::Any aDestination;
if (bAsPropertyValueList)
@@ -190,14 +190,14 @@ const css::uno::Any SequenceAsHashMap::getAsConstAny(bool bAsPropertyValueList)
return aDestination;
}
-const css::uno::Sequence< css::beans::NamedValue > SequenceAsHashMap::getAsConstNamedValueList() const
+css::uno::Sequence< css::beans::NamedValue > SequenceAsHashMap::getAsConstNamedValueList() const
{
css::uno::Sequence< css::beans::NamedValue > lReturn;
(*this) >> lReturn;
return lReturn;
}
-const css::uno::Sequence< css::beans::PropertyValue > SequenceAsHashMap::getAsConstPropertyValueList() const
+css::uno::Sequence< css::beans::PropertyValue > SequenceAsHashMap::getAsConstPropertyValueList() const
{
css::uno::Sequence< css::beans::PropertyValue > lReturn;
(*this) >> lReturn;