summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-11-23 08:02:04 -0500
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-26 15:03:23 +0200
commit2321771b7a16e67c0b035913c7500c1887734c63 (patch)
treeca62f05b08c68a1c1b132af6b35937dea8c6131b /sd
parentca54fdefb9f063af125a3083ec67a7a17541c5c1 (diff)
LOK: sd: no animation preview for LOK
Change-Id: I67babe9b340bafd196dedb2918d6a24bfc9c0ad5 Reviewed-on: https://gerrit.libreoffice.org/73515 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-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 082d150d5a99..f5ad1821e367 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -2351,6 +2351,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;