summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-16 10:26:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-16 10:29:45 +0200
commit53bf91d66e28b636af468fe0c4b00738436732b3 (patch)
tree20425d63b6d50bbafead9560b02395cfa745ed9c /fpicker
parent5e090212b1a33a9ff2b1d0fd65909dad2f87758a (diff)
loplugin:passstuffbyref
Change-Id: I37c254bd1fdb3cfb05d513f87fa4f4a468466bb0
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/RemoteFilesDialog.cxx2
-rw-r--r--fpicker/source/office/RemoteFilesDialog.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index 15a249f08a28..0d1fc8fd0dd2 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -395,7 +395,7 @@ OUString RemoteFilesDialog::GetPath() const
return m_sPath;
}
-FileViewResult RemoteFilesDialog::OpenURL( OUString sURL )
+FileViewResult RemoteFilesDialog::OpenURL( OUString const & sURL )
{
FileViewResult eResult = eFailure;
diff --git a/fpicker/source/office/RemoteFilesDialog.hxx b/fpicker/source/office/RemoteFilesDialog.hxx
index df9106eaf883..ba48b8e1fe70 100644
--- a/fpicker/source/office/RemoteFilesDialog.hxx
+++ b/fpicker/source/office/RemoteFilesDialog.hxx
@@ -140,7 +140,7 @@ private:
/* If failure returns < 0 */
int GetSelectedServicePos();
- FileViewResult OpenURL( OUString sURL );
+ FileViewResult OpenURL( OUString const & sURL );
void AddFileExtension();