diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-23 11:07:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-23 20:33:05 +0200 |
commit | 05773428c51c82a365e16589a1f8ca45823c6403 (patch) | |
tree | d590f65cca287b06482ce388a29826c5d25641b3 /svtools/source/config | |
parent | 6362c905cf19f2f6cb67bf634091b14c2a8e90ec (diff) |
use officecfg to retrieve GetIsForPagePreviews
Change-Id: I9c7666a4456821e3a2051c8d645183f4e1c5eb55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119412
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/config')
-rw-r--r-- | svtools/source/config/accessibilityoptions.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx index 9bca2a25d52f..576d43a0b376 100644 --- a/svtools/source/config/accessibilityoptions.cxx +++ b/svtools/source/config/accessibilityoptions.cxx @@ -52,7 +52,6 @@ public: SvtAccessibilityOptions_Impl(); void SetVCLSettings(); - bool GetIsForPagePreviews() const; bool GetIsHelpTipsDisappear() const; bool GetIsAllowAnimatedGraphics() const; bool GetIsAllowAnimatedText() const; @@ -98,22 +97,6 @@ SvtAccessibilityOptions_Impl::SvtAccessibilityOptions_Impl() } } -bool SvtAccessibilityOptions_Impl::GetIsForPagePreviews() const -{ - bool bRet = true; - - try - { - if(m_xNode.is()) - m_xNode->getPropertyValue("IsForPagePreviews") >>= bRet; - } - catch(const css::uno::Exception&) - { - DBG_UNHANDLED_EXCEPTION("svtools.config"); - } - return bRet; -} - bool SvtAccessibilityOptions_Impl::GetIsHelpTipsDisappear() const { bool bRet = true; @@ -375,10 +358,6 @@ SvtAccessibilityOptions::~SvtAccessibilityOptions() } } -bool SvtAccessibilityOptions::GetIsForPagePreviews() const -{ - return sm_pSingleImplConfig->GetIsForPagePreviews(); -} bool SvtAccessibilityOptions::GetIsAllowAnimatedGraphics() const { return sm_pSingleImplConfig->GetIsAllowAnimatedGraphics(); |