summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-02-12 11:54:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-02-12 11:54:57 +0100
commitde92a3d67f423aeb30cab28fb8ecf77743e1c470 (patch)
tree853d5a91a97462322d81ee2f74b2a1b6006d46ed
parent5b234f6b611177081bc51f74fb212e4699966bfe (diff)
loplugin:passstuffbyref
Change-Id: I90d10c9bde2ad1160a4c1e2de2b53c565cb7e80c
-rw-r--r--cui/source/options/optjava.cxx2
-rw-r--r--cui/source/options/optjava.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 29a2c5faa286..4bcdeabc3552 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -1005,7 +1005,7 @@ OUString SvxJavaParameterEditDlg::GetParameter() const
}
-void SvxJavaParameterEditDlg::SetParameter( OUString strParams )
+void SvxJavaParameterEditDlg::SetParameter( OUString const & strParams )
{
m_pParameterEditField->SetText( strParams );
m_pParameterEditField->SetCursorAtLast();
diff --git a/cui/source/options/optjava.hxx b/cui/source/options/optjava.hxx
index 049915969743..5950d4280c45 100644
--- a/cui/source/options/optjava.hxx
+++ b/cui/source/options/optjava.hxx
@@ -192,7 +192,7 @@ public:
virtual short Execute() override;
OUString GetParameter() const;
- void SetParameter( OUString rParams );
+ void SetParameter( OUString const & rParams );
};
// class SvxJavaClassPathDlg ---------------------------------------------