summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/dlgass.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-12 11:54:45 +0200
committerNoel Grandin <noel@peralex.com>2016-04-12 11:54:45 +0200
commit9649026cf50533595c172cd81b96acd45603d86b (patch)
treee7dade92b6674fe445ab36492afc2db02a827f05 /sd/source/ui/dlg/dlgass.cxx
parent6a8873c874db41e8818a74eb6bf2561dfdb296db (diff)
clang-tidy performance-unnecessary-value-param in sd
Change-Id: Id55410931305a9695a001977a5227b430a984e99
Diffstat (limited to 'sd/source/ui/dlg/dlgass.cxx')
-rw-r--r--sd/source/ui/dlg/dlgass.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx
index 11268d11eb14..75d8f7e45874 100644
--- a/sd/source/ui/dlg/dlgass.cxx
+++ b/sd/source/ui/dlg/dlgass.cxx
@@ -161,7 +161,7 @@ public:
VclPtr<vcl::Window> mpWindow;
- void SavePassword( SfxObjectShellLock xDoc, const OUString& rPath );
+ void SavePassword( const SfxObjectShellLock& xDoc, const OUString& rPath );
void RestorePassword( SfxItemSet* pSet, const OUString& rPath );
uno::Sequence < beans::NamedValue > GetPassword( const OUString& rPath );
void DeletePasswords();
@@ -1555,7 +1555,7 @@ void AssistentDlgImpl::UpdatePreview( bool bDocPreview )
mbPreviewUpdating = false;
}
-void AssistentDlgImpl::SavePassword( SfxObjectShellLock xDoc, const OUString& rPath )
+void AssistentDlgImpl::SavePassword( const SfxObjectShellLock& xDoc, const OUString& rPath )
{
if(xDoc.Is())
{