summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-06-17 16:17:24 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-06-17 16:38:25 +0200
commitc4e5a14b1c8d2d85476791c519ac7df8b13f02df (patch)
tree02d5e52e24998aa72ef17be9567c74d541dc23ca
parenta1a0432d11899caf057bc3a37408675d330b0a0b (diff)
sw tiled rendering: fix always empty copy&paste format list
Change-Id: I0c6390b54d0e9bb1cad7c30ff24ddb109d88e03b
-rw-r--r--sw/source/uibase/dochdl/swdtflvr.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx
index ab5b2b96348c..cdebce3d2171 100644
--- a/sw/source/uibase/dochdl/swdtflvr.cxx
+++ b/sw/source/uibase/dochdl/swdtflvr.cxx
@@ -126,6 +126,7 @@
#include <vcl/GraphicNativeTransform.hxx>
#include <vcl/GraphicNativeMetadata.hxx>
+#include <comphelper/lok.hxx>
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
@@ -305,7 +306,7 @@ void SwTransferable::AddSupportedFormats()
{
// only need if we are the current XSelection Object
SwModule *pMod = SW_MOD();
- if( this == pMod->pXSelection )
+ if( this == pMod->pXSelection || comphelper::LibreOfficeKit::isActive())
{
SetDataForDragAndDrop( Point( 0,0) );
}