diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-23 12:18:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-23 22:18:25 +0200 |
commit | e7a7f2b237d9b64399d97fd776f343e9ee35d1b2 (patch) | |
tree | f26d0cae1a468fbccc0cd9b8c17b645bc1e76621 /svtools | |
parent | 64a55fe5f457e4b3d5222deb560f6d5072696160 (diff) |
use officecfg to retrieve help stylesheet
Change-Id: If2a233d44315a2d263671468e4671e0996d315d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119414
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/config/helpopt.cxx | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/svtools/source/config/helpopt.cxx b/svtools/source/config/helpopt.cxx index 63b128d413fb..2b5b2cb2bbd3 100644 --- a/svtools/source/config/helpopt.cxx +++ b/svtools/source/config/helpopt.cxx @@ -44,8 +44,7 @@ enum class HelpProperty ExtendedHelp = 0, HelpTips = 1, Locale = 2, - StyleSheet = 3, - OfflineHelpPopUp = 4 + OfflineHelpPopUp = 3 }; } @@ -76,9 +75,6 @@ public: void SetOfflineHelpPopUp(bool b) { bOfflineHelpPopUp = b; SetModified();} bool IsOfflineHelpPopUp() const { return bOfflineHelpPopUp;} - const OUString& GetHelpStyleSheet()const{return sHelpStyleSheet;} - void SetHelpStyleSheet(const OUString& rStyleSheet){sHelpStyleSheet = rStyleSheet; SetModified();} - static ::osl::Mutex & getInitMutex(); }; @@ -90,7 +86,6 @@ Sequence< OUString > const & SvtHelpOptions_Impl::GetPropertyNames() "Tip", "Locale", "System", - "HelpStyleSheet", "BuiltInHelpNotInstalledPopUp" }; @@ -165,9 +160,6 @@ void SvtHelpOptions_Impl::Load(const uno::Sequence< OUString>& rPropertyNames) aLocale = aTmpStr; break; - case HelpProperty::StyleSheet: - sHelpStyleSheet = aTmpStr; - break; default: SAL_WARN( "svtools.config", "Wrong Member!" ); break; @@ -210,9 +202,6 @@ void SvtHelpOptions_Impl::ImplCommit() pValues[nProp] <<= aLocale; break; - case HelpProperty::StyleSheet: - pValues[nProp] <<= sHelpStyleSheet; - break; case HelpProperty::OfflineHelpPopUp: pValues[nProp] <<= bOfflineHelpPopUp; break; @@ -278,14 +267,4 @@ bool SvtHelpOptions::IsHelpTips() const return pImpl->IsHelpTips(); } -const OUString& SvtHelpOptions::GetHelpStyleSheet()const -{ - return pImpl->GetHelpStyleSheet(); -} - -void SvtHelpOptions::SetHelpStyleSheet(const OUString& rStyleSheet) -{ - pImpl->SetHelpStyleSheet(rStyleSheet); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |