summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2019-05-29 15:20:32 +0100
committerMichael Meeks <michael.meeks@collabora.com>2019-07-19 23:31:05 +0100
commit519739c4ad84dd3b9edda5369585a68b98570ffc (patch)
tree7cd3e7c894c766bd03fc63db005fe602c6c4c724
parent825e3f66497c673dd7ac11a8fce830874288977d (diff)
lok: don't be prejudiced against a single missing mime-type.
Change-Id: Ic5004c306cbd01071c397ed1a61ef094b439a48f
-rw-r--r--editeng/source/editeng/editeng.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index cae8822cd48e..fd2f94a3195c 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -2708,6 +2708,9 @@ bool EditEngine::HasValidData( const css::uno::Reference< css::datatransfer::XTr
{
bool bValidData = false;
+ if ( comphelper::LibreOfficeKit::isActive())
+ return true;
+
if ( rTransferable.is() )
{
// Every application that copies rtf or any other text format also copies plain text into the clipboard....