From 3b6a0b1e66e6423ed3d5c96f4d1397b33c3a2548 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 7 Jul 2016 16:01:15 +0200 Subject: loplugin:passstuffbyref also for {css::uno,rtl}::Reference Change-Id: Ie6dd8317cb5add8a5072dd6aca2833d2d22b78d9 --- xmlsecurity/source/dialogs/certificateviewer.cxx | 2 +- xmlsecurity/source/helper/xsecctl.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'xmlsecurity') 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; -- cgit