diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-04 12:42:06 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-04 15:14:22 +0200 |
commit | b2117c98ed959e79079084a6e3e6e490573e7236 (patch) | |
tree | 2018c31eedf7b67b1387f529cd6735a191e59c38 /extensions/source/abpilot | |
parent | ef0217f24e99a3313ed1467c6f2f496a14777db2 (diff) |
abpilot: store embedding preference in AddressSettings
Change-Id: I83235f79d30e5f573fee95a525b4cfe1211a24b7
Diffstat (limited to 'extensions/source/abpilot')
-rw-r--r-- | extensions/source/abpilot/abpfinalpage.cxx | 1 | ||||
-rw-r--r-- | extensions/source/abpilot/abspilot.cxx | 1 | ||||
-rw-r--r-- | extensions/source/abpilot/addresssettings.hxx | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/extensions/source/abpilot/abpfinalpage.cxx b/extensions/source/abpilot/abpfinalpage.cxx index ccbd9b637bde..12dbd49bc8f8 100644 --- a/extensions/source/abpilot/abpfinalpage.cxx +++ b/extensions/source/abpilot/abpfinalpage.cxx @@ -158,6 +158,7 @@ namespace abp rSettings.bRegisterDataSource = m_pRegisterName->IsChecked(); if ( rSettings.bRegisterDataSource ) rSettings.sRegisteredDataSourceName = m_pName->GetText(); + rSettings.bEmbedDataSource = m_pEmbed->IsChecked(); return true; } diff --git a/extensions/source/abpilot/abspilot.cxx b/extensions/source/abpilot/abspilot.cxx index a27b1e66040d..459f321ad136 100644 --- a/extensions/source/abpilot/abspilot.cxx +++ b/extensions/source/abpilot/abspilot.cxx @@ -113,6 +113,7 @@ namespace abp #endif m_aSettings.sDataSourceName = ModuleRes(RID_STR_DEFAULT_NAME).toString(); m_aSettings.bRegisterDataSource = false; + m_aSettings.bEmbedDataSource = false; m_aSettings.bIgnoreNoTable = false; defaultButton(WizardButtonFlags::NEXT); diff --git a/extensions/source/abpilot/addresssettings.hxx b/extensions/source/abpilot/addresssettings.hxx index 4cc437787a05..16d508a5fcb7 100644 --- a/extensions/source/abpilot/addresssettings.hxx +++ b/extensions/source/abpilot/addresssettings.hxx @@ -54,6 +54,7 @@ namespace abp bool bIgnoreNoTable; MapString2String aFieldMapping; bool bRegisterDataSource; + bool bEmbedDataSource; }; |