diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-06 08:50:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-06 09:54:25 +0200 |
commit | 24eae7bd702f3f6dd790be7ac38ac16e9fe6a375 (patch) | |
tree | 56398264184709e84517c2e843aa3a0894cc1c51 /include/sfx2 | |
parent | fad919eb0d30b2303193e1c00ba765514957652c (diff) |
clang-tidy performance-unnecessary-value-param
Change-Id: I69247498e13331f6ef84afeb242479f8fb1178a8
Reviewed-on: https://gerrit.libreoffice.org/60068
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/docfile.hxx | 6 | ||||
-rw-r--r-- | include/sfx2/objsh.hxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/sfx2/docfile.hxx b/include/sfx2/docfile.hxx index 0fa8fbbae69c..dd2f1304e015 100644 --- a/include/sfx2/docfile.hxx +++ b/include/sfx2/docfile.hxx @@ -266,11 +266,11 @@ public: SAL_DLLPRIVATE bool SignContents_Impl(bool bSignScriptingContent, bool bHasValidDocumentSignature, const OUString& aSignatureLineId = OUString(), - const css::uno::Reference<css::security::XCertificate> xCert + const css::uno::Reference<css::security::XCertificate>& xCert = css::uno::Reference<css::security::XCertificate>(), - const css::uno::Reference<css::graphic::XGraphic> xValidGraphic + const css::uno::Reference<css::graphic::XGraphic>& xValidGraphic = css::uno::Reference<css::graphic::XGraphic>(), - const css::uno::Reference<css::graphic::XGraphic> xInvalidGraphic + const css::uno::Reference<css::graphic::XGraphic>& xInvalidGraphic = css::uno::Reference<css::graphic::XGraphic>(), const OUString& aComment = OUString()); diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index 382e4c692e87..1c31ed32d9c6 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -362,9 +362,9 @@ public: SignatureState GetDocumentSignatureState(); void SignDocumentContent(weld::Window* pDialogParent); void SignSignatureLine(weld::Window* pDialogParent, const OUString& aSignatureLineId, - const css::uno::Reference<css::security::XCertificate> xCert, - const css::uno::Reference<css::graphic::XGraphic> xValidGraphic, - const css::uno::Reference<css::graphic::XGraphic> xInvalidGraphic, + const css::uno::Reference<css::security::XCertificate>& xCert, + const css::uno::Reference<css::graphic::XGraphic>& xValidGraphic, + const css::uno::Reference<css::graphic::XGraphic>& xInvalidGraphic, const OUString& aComment); SignatureState GetScriptingSignatureState(); void SignScriptingContent(weld::Window* pDialogParent); |