summaryrefslogtreecommitdiff
path: root/sc/source/ui/attrdlg/scdlgfact.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-02-15 12:58:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-02-15 15:54:39 +0100
commit36af12e74f4fa20712a3671c1be2a3a4b5a54e7d (patch)
tree4a342fc225f91d425be05085cb4b80711cea24d4 /sc/source/ui/attrdlg/scdlgfact.hxx
parent03b4d8f486d9ecdfe21a05d6bf65c396a35772f6 (diff)
weld ScImportOptionsDlg
Change-Id: Ib8ea4726d20f0bd7f40283983fec2d5890fac382 Reviewed-on: https://gerrit.libreoffice.org/67869 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/attrdlg/scdlgfact.hxx')
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.hxx20
1 files changed, 14 insertions, 6 deletions
diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx
index f134f9a1d294..e1eb091553d6 100644
--- a/sc/source/ui/attrdlg/scdlgfact.hxx
+++ b/sc/source/ui/attrdlg/scdlgfact.hxx
@@ -518,7 +518,14 @@ public:
class AbstractScImportOptionsDlg_Impl : public AbstractScImportOptionsDlg
{
- DECL_ABSTDLG_BASE( AbstractScImportOptionsDlg_Impl, ScImportOptionsDlg)
+protected:
+ std::unique_ptr<ScImportOptionsDlg> m_xDlg;
+public:
+ explicit AbstractScImportOptionsDlg_Impl(std::unique_ptr<ScImportOptionsDlg> p)
+ : m_xDlg(std::move(p))
+ {
+ }
+ virtual short Execute() override;
virtual void GetImportOptions( ScImportOptions& rOptions ) const override;
virtual void SaveImportOptions() const override;
};
@@ -691,11 +698,12 @@ public:
const OUString& rTabBgColorNoColorText, //Label for no tab color
const Color& rDefaultColor) override; //Currently selected Color
- virtual VclPtr<AbstractScImportOptionsDlg> CreateScImportOptionsDlg ( bool bAscii,
- const ScImportOptions* pOptions,
- const OUString* pStrTitle,
- bool bOnlyDbtoolsEncodings,
- bool bImport = true ) override;
+ virtual VclPtr<AbstractScImportOptionsDlg> CreateScImportOptionsDlg(weld::Window* pParent, bool bAscii,
+ const ScImportOptions* pOptions,
+ const OUString* pStrTitle,
+ bool bOnlyDbtoolsEncodings,
+ bool bImport = true) override;
+
virtual VclPtr<SfxAbstractTabDialog> CreateScAttrDlg(weld::Window* pParent,
const SfxItemSet* pCellAttrs) override;