summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/docfile.cxx9
-rw-r--r--sfx2/source/doc/objserv.cxx6
2 files changed, 7 insertions, 8 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 5d1888a60d5c..0da123becf7f 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -3649,12 +3649,11 @@ void SfxMedium::CreateTempFileNoCopy()
CloseStorage();
}
-bool SfxMedium::SignContents_Impl(bool bSignScriptingContent,
- bool bHasValidDocumentSignature,
+bool SfxMedium::SignContents_Impl(bool bSignScriptingContent, bool bHasValidDocumentSignature,
const OUString& aSignatureLineId,
- const Reference<XCertificate> xCert,
- const Reference<XGraphic> xValidGraphic,
- const Reference<XGraphic> xInvalidGraphic,
+ const Reference<XCertificate>& xCert,
+ const Reference<XGraphic>& xValidGraphic,
+ const Reference<XGraphic>& xInvalidGraphic,
const OUString& aComment)
{
bool bChanges = false;
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 1755be26b741..b3db07931fbc 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -1609,9 +1609,9 @@ void SfxObjectShell::SignDocumentContent(weld::Window* pDialogParent)
void SfxObjectShell::SignSignatureLine(weld::Window* pDialogParent,
const OUString& aSignatureLineId,
- const Reference<XCertificate> xCert,
- const Reference<XGraphic> xValidGraphic,
- const Reference<XGraphic> xInvalidGraphic,
+ const Reference<XCertificate>& xCert,
+ const Reference<XGraphic>& xValidGraphic,
+ const Reference<XGraphic>& xInvalidGraphic,
const OUString& aComment)
{
if (!PrepareForSigning(pDialogParent))