summaryrefslogtreecommitdiff
path: root/basic/source/uno/scriptcont.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-11 10:20:19 +0200
committerNoel Grandin <noel@peralex.com>2016-04-11 11:38:57 +0200
commitf678b82f0e4dea47dfc8938f01442b6eb1ce23ad (patch)
treeac8e998a3857c4d8a51cfb90e7644de2f40e3829 /basic/source/uno/scriptcont.cxx
parentbfff081e74ad06a7e353669eec345c6440db57cb (diff)
clang-tidy performance-unnecessary-value-param in basic
Change-Id: I997213ca28efc2df04d454ffaf3c81c9cbad09ac
Diffstat (limited to 'basic/source/uno/scriptcont.cxx')
-rw-r--r--basic/source/uno/scriptcont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx
index 87a106ead62d..64fdfe0fa0d2 100644
--- a/basic/source/uno/scriptcont.cxx
+++ b/basic/source/uno/scriptcont.cxx
@@ -546,7 +546,7 @@ void SAL_CALL SfxScriptLibraryContainer::changeLibraryPassword( const OUString&
}
-void setStreamKey( uno::Reference< io::XStream > xStream, const OUString& aPass )
+void setStreamKey( const uno::Reference< io::XStream >& xStream, const OUString& aPass )
{
uno::Reference< embed::XEncryptionProtectedSource > xEncrStream( xStream, uno::UNO_QUERY );
if ( xEncrStream.is() )