summaryrefslogtreecommitdiff
path: root/writerperfect/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 20:35:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-25 12:17:39 +0200
commitb26a3db534cd30bee596670e99897ee5ce907adf (patch)
tree0b875722f000d88460b506a34d7a72befe6501be /writerperfect/source
parent502d73cda8fa1f482634bb6435fd1440757fdad9 (diff)
loplugin:returnconstval in writerperfect
Change-Id: I86e9977438c69c19adafc3743e618321a05e3923 Reviewed-on: https://gerrit.libreoffice.org/78064 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerperfect/source')
-rw-r--r--writerperfect/source/common/DirectoryStream.cxx2
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx2
2 files changed, 2 insertions, 2 deletions
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<css::ucb::XContent>&
}
}
-const css::uno::Reference<css::ucb::XContent> DirectoryStream::getContent() const
+css::uno::Reference<css::ucb::XContent> DirectoryStream::getContent() const
{
if (!m_pImpl)
return css::uno::Reference<css::ucb::XContent>();
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;