summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations/CustomAnimationPane.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/animations/CustomAnimationPane.cxx')
-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;