Kaydet (Commit) 161e39a6 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw tiled rendering: fix always empty copy&paste format list

Change-Id: I0c6390b54d0e9bb1cad7c30ff24ddb109d88e03b
(cherry picked from commit c4e5a14b)
üst a19148ae
...@@ -126,6 +126,7 @@ ...@@ -126,6 +126,7 @@
#include <vcl/GraphicNativeTransform.hxx> #include <vcl/GraphicNativeTransform.hxx>
#include <vcl/GraphicNativeMetadata.hxx> #include <vcl/GraphicNativeMetadata.hxx>
#include <comphelper/lok.hxx>
#include <boost/scoped_array.hpp> #include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp> #include <boost/scoped_ptr.hpp>
...@@ -305,7 +306,7 @@ void SwTransferable::AddSupportedFormats() ...@@ -305,7 +306,7 @@ void SwTransferable::AddSupportedFormats()
{ {
// only need if we are the current XSelection Object // only need if we are the current XSelection Object
SwModule *pMod = SW_MOD(); SwModule *pMod = SW_MOD();
if( this == pMod->pXSelection ) if( this == pMod->pXSelection || comphelper::LibreOfficeKit::isActive())
{ {
SetDataForDragAndDrop( Point( 0,0) ); SetDataForDragAndDrop( Point( 0,0) );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment