diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-23 18:49:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-24 21:00:51 +0200 |
commit | 966cc80a8f45816f727d4af036c2b58fb7d82d22 (patch) | |
tree | 8515f2d9536e4ad95bb69a622fed0f54283a967e /cui | |
parent | d8beefc5d351d636842d07ef3c36c4bb2f6799a6 (diff) |
use officecfg to retrieve DocInfoSave
Change-Id: I0a9e8b21b0c5937567273155cd5b5f773fe26b8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119457
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optsave.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx index 317d6c625b1e..b0a58b4743f6 100644 --- a/cui/source/options/optsave.cxx +++ b/cui/source/options/optsave.cxx @@ -429,8 +429,8 @@ void SvxSaveTabPage::Reset( const SfxItemSet* ) pImpl->bInitialized = true; } - m_xDocInfoCB->set_active(aSaveOpt.IsDocInfoSave()); - m_xDocInfoCB->set_sensitive(!aSaveOpt.IsReadOnly(SvtSaveOptions::EOption::DocInfSave)); + m_xDocInfoCB->set_active(officecfg::Office::Common::Save::Document::EditProperty::get()); + m_xDocInfoCB->set_sensitive(!officecfg::Office::Common::Save::Document::EditProperty::isReadOnly()); m_xBackupCB->set_active(aSaveOpt.IsBackup()); m_xBackupCB->set_sensitive(!aSaveOpt.IsReadOnly(SvtSaveOptions::EOption::Backup)); |