summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 09:23:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 18:14:23 +0200
commitc7799d71899c121334855c3234a9492687803b59 (patch)
tree3eeb29d4c1eec9de938f61da5d61237c7827f503 /svl
parent32e22584872f1888c49c976f91f41d5edabcb45c (diff)
loplugin:returnconstval in svl
Change-Id: I55371fde92204e6405e74fb8deecbaf14707a312 Reviewed-on: https://gerrit.libreoffice.org/78053 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/stylepool.cxx4
-rw-r--r--svl/source/svdde/ddesvr.cxx4
-rw-r--r--svl/unx/source/svdde/ddedummy.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx
index 14f30f35b26a..6471212c7ff4 100644
--- a/svl/source/items/stylepool.cxx
+++ b/svl/source/items/stylepool.cxx
@@ -74,7 +74,7 @@ namespace {
const bool bSkipIgnorable );
// #i86923#
bool hasIgnorableChildren( const bool bCheckUsage ) const;
- const std::shared_ptr<SfxItemSet> getItemSetOfIgnorableChild(
+ std::shared_ptr<SfxItemSet> getItemSetOfIgnorableChild(
const bool bSkipUnusedItemSets ) const;
};
@@ -205,7 +205,7 @@ namespace {
});
}
- const std::shared_ptr<SfxItemSet> Node::getItemSetOfIgnorableChild(
+ std::shared_ptr<SfxItemSet> Node::getItemSetOfIgnorableChild(
const bool bSkipUnusedItemSets ) const
{
DBG_ASSERT( hasIgnorableChildren( bSkipUnusedItemSets ),
diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index d64df8742259..4fffb473674e 100644
--- a/svl/source/svdde/ddesvr.cxx
+++ b/svl/source/svdde/ddesvr.cxx
@@ -451,7 +451,7 @@ DdeService::~DdeService()
}
}
-const OUString DdeService::GetName() const
+OUString DdeService::GetName() const
{
return pName->toOUString();
}
@@ -534,7 +534,7 @@ DdeTopic::~DdeTopic()
delete pName;
}
-const OUString DdeTopic::GetName() const
+OUString DdeTopic::GetName() const
{
return pName->toOUString();
}
diff --git a/svl/unx/source/svdde/ddedummy.cxx b/svl/unx/source/svdde/ddedummy.cxx
index 2e633f895722..613bfe4ab471 100644
--- a/svl/unx/source/svdde/ddedummy.cxx
+++ b/svl/unx/source/svdde/ddedummy.cxx
@@ -197,7 +197,7 @@ bool DdeTopic::Put( SAL_UNUSED_PARAMETER const DdeData* )
return false;
}
-const OUString DdeTopic::GetName() const
+OUString DdeTopic::GetName() const
{
return OUString();
}
@@ -244,7 +244,7 @@ void DdeService::RemoveTopic( SAL_UNUSED_PARAMETER const DdeTopic& )
{
}
-const OUString DdeService::GetName() const
+OUString DdeService::GetName() const
{
return OUString();
}