summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-22 10:16:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-03-22 16:08:02 +0100
commit9aa46fbc67b8c1098e36fdf00dfc2468ee3a1694 (patch)
tree70bc08871fc4a2a0cb64a20696a535cfb9542f29 /include
parent5b348b1a8ca3c5ba1049aacba1ac2e3c43ed26b7 (diff)
set parent for password dialog
Change-Id: I3276cdc1a9f94aead260706cb378e278000081be Reviewed-on: https://gerrit.libreoffice.org/51728 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/dinfdlg.hxx2
-rw-r--r--include/sfx2/filedlghelper.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index 4fa1e321931b..c1f003832be6 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -201,7 +201,7 @@ private:
DECL_LINK(DeleteHdl, Button*, void);
DECL_LINK(SignatureHdl, Button*, void);
- DECL_STATIC_LINK(SfxDocumentPage, ChangePassHdl, Button*, void);
+ DECL_LINK(ChangePassHdl, Button*, void);
void ImplUpdateSignatures();
void ImplCheckPasswordState();
diff --git a/include/sfx2/filedlghelper.hxx b/include/sfx2/filedlghelper.hxx
index 5fe1cbc29787..5a6cefa5ba5a 100644
--- a/include/sfx2/filedlghelper.hxx
+++ b/include/sfx2/filedlghelper.hxx
@@ -255,7 +255,7 @@ ErrCode FileOpenDialog_Impl( const vcl::Window* pParent,
const css::uno::Sequence< OUString >& rBlackList = css::uno::Sequence< OUString >());
-ErrCode RequestPassword(const std::shared_ptr<const SfxFilter>& pCurrentFilter, OUString const & aURL, SfxItemSet* pSet);
+ErrCode RequestPassword(const std::shared_ptr<const SfxFilter>& pCurrentFilter, OUString const & aURL, SfxItemSet* pSet, vcl::Window* pParent);
}
#endif