summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-01 14:02:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-01 21:54:05 +0200
commit357e8bdfc15eea083d8a8699ecc2de9a8a615c23 (patch)
tree34a68326365220412276f957fb69334e47c64228 /svl
parentac8cb02cfdeef48dac0baa6646253170d1e1f2c9 (diff)
loplugin:returnconstval (clang-cl)
Change-Id: Ib3c3e32bd998ac7e29f45cc4ce511a863096c3b5 Reviewed-on: https://gerrit.libreoffice.org/79958 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/svdde/ddecli.cxx2
-rw-r--r--svl/source/svdde/ddesvr.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/svdde/ddecli.cxx b/svl/source/svdde/ddecli.cxx
index 29134e5a0767..020cf71b7efa 100644
--- a/svl/source/svdde/ddecli.cxx
+++ b/svl/source/svdde/ddecli.cxx
@@ -313,7 +313,7 @@ void DdeTransaction::Execute()
}
}
-const OUString DdeTransaction::GetName() const
+OUString DdeTransaction::GetName() const
{
return pName->toOUString();
}
diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index 8060cf0f4835..beb55c195fc2 100644
--- a/svl/source/svdde/ddesvr.cxx
+++ b/svl/source/svdde/ddesvr.cxx
@@ -656,7 +656,7 @@ DdeItem::~DdeItem()
delete pImpData;
}
-const OUString DdeItem::GetName() const
+OUString DdeItem::GetName() const
{
return pName->toOUString();
}