summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/docfile.hxx6
-rw-r--r--include/sfx2/objsh.hxx6
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);