From b26a3db534cd30bee596670e99897ee5ce907adf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 24 Aug 2019 20:35:36 +0200 Subject: loplugin:returnconstval in writerperfect Change-Id: I86e9977438c69c19adafc3743e618321a05e3923 Reviewed-on: https://gerrit.libreoffice.org/78064 Tested-by: Jenkins Reviewed-by: Noel Grandin --- writerperfect/source/common/DirectoryStream.cxx | 2 +- writerperfect/source/common/WPXSvInputStream.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'writerperfect/source') diff --git a/writerperfect/source/common/DirectoryStream.cxx b/writerperfect/source/common/DirectoryStream.cxx index d6d39143ecdd..19ec454b293e 100644 --- a/writerperfect/source/common/DirectoryStream.cxx +++ b/writerperfect/source/common/DirectoryStream.cxx @@ -157,7 +157,7 @@ DirectoryStream::createForParent(const css::uno::Reference& } } -const css::uno::Reference DirectoryStream::getContent() const +css::uno::Reference DirectoryStream::getContent() const { if (!m_pImpl) return css::uno::Reference(); diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx index 4b57b25cbdad..f1799f56bd19 100644 --- a/writerperfect/source/common/WPXSvInputStream.cxx +++ b/writerperfect/source/common/WPXSvInputStream.cxx @@ -86,7 +86,7 @@ OUString lcl_normalizeSubStreamPath(const OUString& rPath) namespace { -const OUString concatPath(const OUString& lhs, const OUString& rhs) +OUString concatPath(const OUString& lhs, const OUString& rhs) { if (lhs.isEmpty()) return rhs; -- cgit