From 259ce91cb63baa049bc57db79fd922ab5fd8be57 Mon Sep 17 00:00:00 2001 From: Ashod Nakashian Date: Fri, 23 Nov 2018 08:02:04 -0500 Subject: LOK: sd: no animation preview for LOK Change-Id: I67babe9b340bafd196dedb2918d6a24bfc9c0ad5 --- sd/source/ui/animations/CustomAnimationPane.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index 6375774cb999..d98c2952986f 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -2384,6 +2384,10 @@ void CustomAnimationPane::onPreview( bool bForcePreview ) if( !bForcePreview && !mpCBAutoPreview->IsChecked() ) return; + // No preview in LOK. + if (comphelper::LibreOfficeKit::isActive()) + return; + if( maListSelection.empty() ) { rtl::Reference< MotionPathTag > xMotionPathTag; -- cgit v1.2.3