[Libreoffice-commits] core.git: Branch 'private/mmeeks/copypaste' - editeng/source

Michael Meeks (via logerrit) logerrit at kemper.freedesktop.org
Wed May 29 14:07:14 UTC 2019


 editeng/source/editeng/editeng.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 7ed6b09149f3e240f65a75ca56b49752a0e54113
Author:     Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Wed May 29 15:05:58 2019 +0100
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Wed May 29 15:05:58 2019 +0100

    lok: don't be prejudiced against a single missing mime-type.
    
    Change-Id: Ic5004c306cbd01071c397ed1a61ef094b439a48f

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....


More information about the Libreoffice-commits mailing list