summaryrefslogtreecommitdiff
path: root/sw/source/uibase/config
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2023-12-13 01:18:40 +0100
committerGabor Kelemen <kelemeng@ubuntu.com>2023-12-24 12:14:58 +0100
commitba12e22f28150ec00d55e4fb99838710a3973e57 (patch)
tree4e8e0deccf3e8e20a82e53850db49b39a8cefff3 /sw/source/uibase/config
parent0b600862ae38c5405779f660226bee8e9cc6e3b6 (diff)
Drop some wrapper methods from SvtAccessibilityOptions
just use the wrapped officecfg methods instead of: GetIsAllowAnimatedGraphics GetIsAllowAnimatedText GetIsAutomaticFontColor IsSelectionInReadonly Change-Id: I74de75fc9ff2f9a36ef376255e937bb373055587 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161236 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Diffstat (limited to 'sw/source/uibase/config')
-rw-r--r--sw/source/uibase/config/viewopt.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx
index 538efd4a86f0..2b6a5c500e6f 100644
--- a/sw/source/uibase/config/viewopt.cxx
+++ b/sw/source/uibase/config/viewopt.cxx
@@ -35,7 +35,6 @@
#include <crstate.hxx>
#include <authratr.hxx>
#include <svtools/colorcfg.hxx>
-#include <svtools/accessibilityoptions.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/syslocale.hxx>
@@ -286,7 +285,7 @@ SwViewOption::SwViewOption() :
}
m_nDivisionX = m_nDivisionY = 1;
- m_bSelectionInReadonly = utl::ConfigManager::IsFuzzing() || SvtAccessibilityOptions::IsSelectionInReadonly();
+ m_bSelectionInReadonly = utl::ConfigManager::IsFuzzing() || officecfg::Office::Common::Accessibility::IsSelectionInReadonly::get();
m_bIdle = true;