include/svl/svdde.hxx | 4 ++-- svl/source/svdde/ddecli.cxx | 2 +- svl/source/svdde/ddesvr.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit 357e8bdfc15eea083d8a8699ecc2de9a8a615c23 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue Oct 1 14:02:34 2019 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Tue Oct 1 21:54:05 2019 +0200 loplugin:returnconstval (clang-cl) Change-Id: Ib3c3e32bd998ac7e29f45cc4ce511a863096c3b5 Reviewed-on: https://gerrit.libreoffice.org/79958 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/include/svl/svdde.hxx b/include/svl/svdde.hxx index 10f6ec8f17a2..546b20710e88 100644 --- a/include/svl/svdde.hxx +++ b/include/svl/svdde.hxx @@ -99,7 +99,7 @@ public: virtual ~DdeTransaction(); bool IsBusy() const { return bBusy; } - const OUString GetName() const; + OUString GetName() const; void Execute(); @@ -211,7 +211,7 @@ public: DdeItem( const DdeItem& ); virtual ~DdeItem(); - const OUString GetName() const; + OUString GetName() const; short GetLinks(); void NotifyClient(); }; 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(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits