diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-24 16:56:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-25 20:05:30 +0200 |
commit | 134f40136a9bea265d8f2fedfdb41a1e65d81b49 (patch) | |
tree | d00db8e5b8cc954440228b8815631aa937effdca /sfx2 | |
parent | 28993c0a8d8628c650b661767fd8ab2228c507d9 (diff) |
use officecfg to retrieve OdfDefaultVersion
Change-Id: Id54b98d978965e7ce304b83d5eff7d6c844a41d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119474
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appcfg.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/alienwarn.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/inc/appdata.hxx | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index 5ed88bc71625..e2435ce2f43b 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -115,7 +115,6 @@ void SfxApplication::GetOptions( SfxItemSet& rSet ) SfxItemPool &rPool = GetPool(); const WhichRangesContainer& pRanges = rSet.GetRanges(); - SvtSaveOptions aSaveOptions; SvtSecurityOptions aSecurityOptions; SvtMiscOptions aMiscOptions; @@ -409,7 +408,6 @@ void SfxApplication::SetOptions_Impl( const SfxItemSet& rSet ) const SfxPoolItem *pItem = nullptr; SfxItemPool &rPool = GetPool(); - SvtSaveOptions aSaveOptions; SvtSecurityOptions aSecurityOptions; SvtMiscOptions aMiscOptions; std::shared_ptr< comphelper::ConfigurationChanges > batch( diff --git a/sfx2/source/dialog/alienwarn.cxx b/sfx2/source/dialog/alienwarn.cxx index a09469179cbc..8d27ef81d412 100644 --- a/sfx2/source/dialog/alienwarn.cxx +++ b/sfx2/source/dialog/alienwarn.cxx @@ -64,7 +64,6 @@ SfxAlienWarningDialog::~SfxAlienWarningDialog() try { // save value of "warning off" checkbox, if necessary - SvtSaveOptions aSaveOpt; bool bChecked = m_xWarningOnBox->get_active(); if (officecfg::Office::Common::Save::Document::WarnAlienFormat::get() != bChecked) { diff --git a/sfx2/source/inc/appdata.hxx b/sfx2/source/inc/appdata.hxx index 8bea6e44b6a2..3228321c66c3 100644 --- a/sfx2/source/inc/appdata.hxx +++ b/sfx2/source/inc/appdata.hxx @@ -45,7 +45,6 @@ class SfxStatusDispatcher; class SfxDdeTriggerTopic_Impl; class SfxDocumentTemplates; class SfxFrame; -class SvtSaveOptions; class SfxViewFrame; class SfxSlotPool; class SfxDispatcher; |