diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 16:01:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 18:59:55 +0200 |
commit | 3b6a0b1e66e6423ed3d5c96f4d1397b33c3a2548 (patch) | |
tree | 6e20424a7ab2d8cc37ad4a05f553cdd744074ddc /xmlsecurity | |
parent | 8c81f307eef0c4eb66cf0994fa444b676650c7be (diff) |
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: Ie6dd8317cb5add8a5072dd6aca2833d2d22b78d9
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/dialogs/certificateviewer.cxx | 2 | ||||
-rw-r--r-- | xmlsecurity/source/helper/xsecctl.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/dialogs/certificateviewer.cxx b/xmlsecurity/source/dialogs/certificateviewer.cxx index a256d3d3937f..509a467fbf4d 100644 --- a/xmlsecurity/source/dialogs/certificateviewer.cxx +++ b/xmlsecurity/source/dialogs/certificateviewer.cxx @@ -341,7 +341,7 @@ struct CertPath_UserData css::uno::Reference< css::security::XCertificate > mxCert; bool mbValid; - CertPath_UserData( css::uno::Reference< css::security::XCertificate > xCert, bool bValid): + CertPath_UserData( css::uno::Reference< css::security::XCertificate > const & xCert, bool bValid): mxCert(xCert), mbValid(bValid) { diff --git a/xmlsecurity/source/helper/xsecctl.hxx b/xmlsecurity/source/helper/xsecctl.hxx index 4d02bce95dd5..c496955c19b8 100644 --- a/xmlsecurity/source/helper/xsecctl.hxx +++ b/xmlsecurity/source/helper/xsecctl.hxx @@ -137,7 +137,7 @@ public: InternalSignatureInformation( sal_Int32 nId, - css::uno::Reference< css::xml::crypto::sax::XReferenceResolvedListener > xListener) + css::uno::Reference< css::xml::crypto::sax::XReferenceResolvedListener > const & xListener) :signatureInfor(nId) { xReferenceResolvedListener = xListener; |