diff options
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/sdr/contact/objectcontactofpageview.cxx | 5 | ||||
-rw-r--r-- | svx/source/svdraw/svdedxv.cxx | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx index c777d069eaf2..5379f50b8eec 100644 --- a/svx/source/sdr/contact/objectcontactofpageview.cxx +++ b/svx/source/sdr/contact/objectcontactofpageview.cxx @@ -34,6 +34,7 @@ #include <drawinglayer/processor2d/baseprocessor2d.hxx> #include <drawinglayer/processor2d/processor2dtools.hxx> #include <osl/diagnose.h> +#include <officecfg/Office/Common.hxx> #include <svx/unoapi.hxx> #include <unotools/configmgr.hxx> #include <vcl/canvastools.hxx> @@ -362,7 +363,7 @@ namespace sdr::contact { if (utl::ConfigManager::IsFuzzing()) return true; - return SvtAccessibilityOptions::GetIsAllowAnimatedText(); + return officecfg::Office::Common::Accessibility::IsAllowAnimatedText::get(); } // check if graphic animation is allowed. @@ -372,7 +373,7 @@ namespace sdr::contact return true; // Related tdf#156630 respect system animation setting - return SvtAccessibilityOptions::GetIsAllowAnimatedGraphics() && !MiscSettings::GetUseReducedAnimation(); + return officecfg::Office::Common::Accessibility::IsAllowAnimatedGraphics::get() && !MiscSettings::GetUseReducedAnimation(); } // print? diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index c2d35cc75b6b..b4b98dde2e15 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -25,10 +25,10 @@ #include <editeng/outlobj.hxx> #include <editeng/unotext.hxx> #include <o3tl/deleter.hxx> +#include <officecfg/Office/Common.hxx> #include <svl/itemiter.hxx> #include <svl/style.hxx> #include <svl/whiter.hxx> -#include <svtools/accessibilityoptions.hxx> #include <svx/sdtfchim.hxx> #include <svx/selectioncontroller.hxx> #include <svx/svdedxv.hxx> @@ -1307,7 +1307,8 @@ bool SdrObjEditView::SdrBeginTextEdit(SdrObject* pObj_, SdrPageView* pPV, vcl::W = SdrMakeOutliner(OutlinerMode::TextObject, pObj->getSdrModelFromSdrObject()); { - mpTextEditOutliner->ForceAutoColor(SvtAccessibilityOptions::GetIsAutomaticFontColor()); + mpTextEditOutliner->ForceAutoColor( + officecfg::Office::Common::Accessibility::IsAutomaticFontColor::get()); } aOldCalcFieldValueLink = mpTextEditOutliner->GetCalcFieldValueHdl(); |