diff options
Diffstat (limited to 'sd/source/ui/dlg/dlgass.cxx')
-rw-r--r-- | sd/source/ui/dlg/dlgass.cxx | 4 |
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()) { |