From d4ef1860f268efb5a7ec5cdbce69b40b8f228dd8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 21 Oct 2015 16:06:08 +0100 Subject: use a default when avoiding config Change-Id: I5f068a4f8f2f035070ea3ad16bf6d89f7ab0e0fd --- svx/source/sdr/contact/objectcontactofpageview.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'svx/source') diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx index f27bfdd8b0cd..4786c7a5b8d1 100644 --- a/svx/source/sdr/contact/objectcontactofpageview.cxx +++ b/svx/source/sdr/contact/objectcontactofpageview.cxx @@ -35,6 +35,7 @@ #include #include #include +#include #include "eventhandler.hxx" #include @@ -393,6 +394,8 @@ namespace sdr // check if text animation is allowed. bool ObjectContactOfPageView::IsTextAnimationAllowed() const { + if (utl::ConfigManager::IsAvoidConfig()) + return true; SdrView& rView = GetPageWindow().GetPageView().GetView(); const SvtAccessibilityOptions& rOpt = rView.getAccessibilityOptions(); return rOpt.GetIsAllowAnimatedText(); @@ -401,6 +404,8 @@ namespace sdr // check if graphic animation is allowed. bool ObjectContactOfPageView::IsGraphicAnimationAllowed() const { + if (utl::ConfigManager::IsAvoidConfig()) + return true; SdrView& rView = GetPageWindow().GetPageView().GetView(); const SvtAccessibilityOptions& rOpt = rView.getAccessibilityOptions(); return rOpt.GetIsAllowAnimatedGraphics(); -- cgit