summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2019-05-29 15:05:58 +0100
committerMichael Meeks <michael.meeks@collabora.com>2019-05-29 15:05:58 +0100
commit7ed6b09149f3e240f65a75ca56b49752a0e54113 (patch)
tree7998242af33ec1a5f168aed2e88b28619b9cadab
parent43a7c258465b27c5b6a1cc754dbe628f9b3d7ed5 (diff)
lok: don't be prejudiced against a single missing mime-type.private/mmeeks/copypaste
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 01b00ece1297..baac14b67edf 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -2714,6 +2714,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....