summaryrefslogtreecommitdiff
path: root/include/sfx2/docinsert.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-07-18 17:23:17 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-20 08:01:58 +0000
commit91b1f300cf7f357c3a39d0d5810326cc78d78f16 (patch)
treea89ef37ce86d8fe5babde77a43a098001ca3c164 /include/sfx2/docinsert.hxx
parentbca4d6f896fb12ceff37476c43ea8892898dd385 (diff)
convert to typed Link<> in sfx2
Change-Id: Ifa42bd14d7329ff1043fa736513c468dda30485e Reviewed-on: https://gerrit.libreoffice.org/17195 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sfx2/docinsert.hxx')
-rw-r--r--include/sfx2/docinsert.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/docinsert.hxx b/include/sfx2/docinsert.hxx
index 04058868cfd1..dfc423acf1f4 100644
--- a/include/sfx2/docinsert.hxx
+++ b/include/sfx2/docinsert.hxx
@@ -39,23 +39,23 @@ class SFX2_DLLPUBLIC DocumentInserter
private:
OUString m_sDocFactory;
OUString m_sFilter;
- Link<> m_aDialogClosedLink;
+ Link<sfx2::FileDialogHelper*,void> m_aDialogClosedLink;
sal_Int64 const m_nDlgFlags;
ErrCode m_nError;
sfx2::FileDialogHelper* m_pFileDlg;
SfxItemSet* m_pItemSet;
- std::vector<OUString> m_pURLList;
+ std::vector<OUString> m_pURLList;
- DECL_LINK(DialogClosedHdl, void *);
+ DECL_LINK_TYPED(DialogClosedHdl, sfx2::FileDialogHelper*, void);
public:
DocumentInserter(const OUString& rFactory,
bool const bEnableMultiSelection = false);
~DocumentInserter();
- void StartExecuteModal( const Link<>& _rDialogClosedLink );
+ void StartExecuteModal( const Link<sfx2::FileDialogHelper*,void>& _rDialogClosedLink );
SfxMedium* CreateMedium();
SfxMediumList* CreateMediumList();
};