diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-04-05 12:46:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-04-05 16:39:20 +0200 |
commit | 2b56ca4436f01db069c836daa7b7b4298349fc66 (patch) | |
tree | 2c0771f9b2169748c0d7aecd5c66ef85f3b014b8 /sc/inc/tablink.hxx | |
parent | 158254119b7b20f5e4f825dc3c1e80c1efb91c95 (diff) |
set external data dialog as parent for password dialogs of loading docs
Change-Id: I364b040d0beaab7c64b779dd664a625b30de22cf
Reviewed-on: https://gerrit.libreoffice.org/52457
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 'sc/inc/tablink.hxx')
-rw-r--r-- | sc/inc/tablink.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/inc/tablink.hxx b/sc/inc/tablink.hxx index 043f10c1b708..54b13940db67 100644 --- a/sc/inc/tablink.hxx +++ b/sc/inc/tablink.hxx @@ -30,6 +30,8 @@ class ScDocShell; struct TableLink_Impl; +namespace weld { class Window; } + class ScTableLink : public ::sfx2::SvBaseLink, public ScRefreshTimer { private: @@ -82,7 +84,7 @@ private: public: ScDocumentLoader( const OUString& rFileName, OUString& rFilterName, OUString& rOptions, - sal_uInt32 nRekCnt = 0, bool bWithInteraction = false ); + sal_uInt32 nRekCnt = 0, weld::Window* pInteractionParent = nullptr ); ~ScDocumentLoader(); ScDocument* GetDocument(); ScDocShell* GetDocShell() { return pDocShell; } @@ -94,7 +96,8 @@ public: /** Create SfxMedium for stream read with SfxFilter and filter options set at the medium's SfxItemSet. */ - static SfxMedium* CreateMedium( const OUString& rFileName, std::shared_ptr<const SfxFilter> const & pFilter, const OUString& rOptions ); + static SfxMedium* CreateMedium(const OUString& rFileName, std::shared_ptr<const SfxFilter> const & pFilter, + const OUString& rOptions, weld::Window* pInteractionParent = nullptr); static OUString GetOptions( const SfxMedium& rMedium ); |