[Libreoffice-commits] core.git: cui/source
Stephan Bergmann
sbergman at redhat.com
Fri Feb 12 10:55:25 UTC 2016
cui/source/options/optjava.cxx | 2 +-
cui/source/options/optjava.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit de92a3d67f423aeb30cab28fb8ecf77743e1c470
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Feb 12 11:54:57 2016 +0100
loplugin:passstuffbyref
Change-Id: I90d10c9bde2ad1160a4c1e2de2b53c565cb7e80c
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 29a2c5f..4bcdeab 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 0499159..5950d42 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 ---------------------------------------------
More information about the Libreoffice-commits
mailing list