summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-11-23 08:02:04 -0500
committerJan Holesovsky <kendy@collabora.com>2019-04-30 18:06:28 +0200
commit259ce91cb63baa049bc57db79fd922ab5fd8be57 (patch)
treeae24351f3588306f74f687b37827df49e34011c2
parentfd7e06beb0d3dba8456f78aa4b25ea6e2a18d166 (diff)
LOK: sd: no animation preview for LOK
Change-Id: I67babe9b340bafd196dedb2918d6a24bfc9c0ad5
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.cxx4
1 files changed, 4 insertions, 0 deletions
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;