diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2019-03-12 11:09:29 -0400 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2019-03-12 16:43:02 +0100 |
commit | 0c80a474fa9853c173cdff57a200aec78eea5d73 (patch) | |
tree | 5f1ba11b1e70c3910041c2b880b7231eb3858831 /svtools/source/config | |
parent | 86d07d01697ff000fdffbfacb7dab6509a7d5279 (diff) |
Move the Help URL to a different config path
This partially reverts e5a0bafa330c58d6c9352d3acbe4e97fafa1ad56
and simplifies the Help URL configuration.
Change-Id: Icc7c31b8955f3df978b57dbd8aa8816a9e1f98ad
Reviewed-on: https://gerrit.libreoffice.org/69106
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'svtools/source/config')
-rw-r--r-- | svtools/source/config/accessibilityoptions.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx index 23c06d4a0d3a..98f5eb96a452 100644 --- a/svtools/source/config/accessibilityoptions.cxx +++ b/svtools/source/config/accessibilityoptions.cxx @@ -65,7 +65,6 @@ public: sal_Int16 GetListBoxMaximumLineCount() const; sal_Int16 GetColorValueSetColumnCount() const; bool GetPreviewUsesCheckeredBackground() const; - OUString GetHelpURL() const; }; // initialization of static members -------------------------------------- @@ -135,24 +134,6 @@ bool SvtAccessibilityOptions_Impl::GetIsHelpTipsDisappear() const return bRet; } -OUString SvtAccessibilityOptions_Impl::GetHelpURL() const -{ - css::uno::Reference< css::beans::XPropertySet > xNode(m_xCfg, css::uno::UNO_QUERY); - OUString sRet; - - try - { - if(xNode.is()) - xNode->getPropertyValue("HelpURL") >>= sRet; - } - catch(const css::uno::Exception& ex) - { - SAL_WARN("svtools.config", "Caught unexpected: " << ex); - } - - return sRet; -} - bool SvtAccessibilityOptions_Impl::GetIsAllowAnimatedGraphics() const { css::uno::Reference< css::beans::XPropertySet > xNode(m_xCfg, css::uno::UNO_QUERY); @@ -323,7 +304,6 @@ void SvtAccessibilityOptions_Impl::SetVCLSettings() bool StyleSettingsChanged(false); aHelpSettings.SetTipTimeout( GetIsHelpTipsDisappear() ? GetHelpTipSeconds() * 1000 : HELP_TIP_TIMEOUT); - aHelpSettings.SetHelpURL(GetHelpURL()); aAllSettings.SetHelpSettings(aHelpSettings); const sal_Int16 nEdgeBlendingCountA(GetEdgeBlending()); |