diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-23 11:45:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-23 20:46:55 +0200 |
commit | ba4f191300779cbd9e536d11c02895541fef24be (patch) | |
tree | 2cd95473ee1e20e01d1c555bad2600f110cc866f /svtools | |
parent | 05773428c51c82a365e16589a1f8ca45823c6403 (diff) |
use officecfg to retrieve help system
Change-Id: I09f7a3a91ed63bab28c20984fa80d4d392e9d092
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119413
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/config/helpopt.cxx | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/svtools/source/config/helpopt.cxx b/svtools/source/config/helpopt.cxx index 7cdb3f5ab5e4..63b128d413fb 100644 --- a/svtools/source/config/helpopt.cxx +++ b/svtools/source/config/helpopt.cxx @@ -44,9 +44,8 @@ enum class HelpProperty ExtendedHelp = 0, HelpTips = 1, Locale = 2, - System = 3, - StyleSheet = 4, - OfflineHelpPopUp = 5 + StyleSheet = 3, + OfflineHelpPopUp = 4 }; } @@ -57,7 +56,6 @@ class SvtHelpOptions_Impl : public utl::ConfigItem bool bHelpTips; bool bOfflineHelpPopUp; OUString aLocale; - OUString aSystem; OUString sHelpStyleSheet; static Sequence< OUString > const & GetPropertyNames(); @@ -77,7 +75,6 @@ public: bool IsHelpTips() const { return bHelpTips; } void SetOfflineHelpPopUp(bool b) { bOfflineHelpPopUp = b; SetModified();} bool IsOfflineHelpPopUp() const { return bOfflineHelpPopUp;} - const OUString& GetSystem() const { return aSystem; } const OUString& GetHelpStyleSheet()const{return sHelpStyleSheet;} void SetHelpStyleSheet(const OUString& rStyleSheet){sHelpStyleSheet = rStyleSheet; SetModified();} @@ -168,9 +165,6 @@ void SvtHelpOptions_Impl::Load(const uno::Sequence< OUString>& rPropertyNames) aLocale = aTmpStr; break; - case HelpProperty::System: - aSystem = aTmpStr; - break; case HelpProperty::StyleSheet: sHelpStyleSheet = aTmpStr; break; @@ -216,9 +210,6 @@ void SvtHelpOptions_Impl::ImplCommit() pValues[nProp] <<= aLocale; break; - case HelpProperty::System: - pValues[nProp] <<= aSystem; - break; case HelpProperty::StyleSheet: pValues[nProp] <<= sHelpStyleSheet; break; @@ -287,11 +278,6 @@ bool SvtHelpOptions::IsHelpTips() const return pImpl->IsHelpTips(); } -OUString const & SvtHelpOptions::GetSystem() const -{ - return pImpl->GetSystem(); -} - const OUString& SvtHelpOptions::GetHelpStyleSheet()const { return pImpl->GetHelpStyleSheet(); |