[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Wed Jun 17 07:39:28 PDT 2015
sw/source/uibase/dochdl/swdtflvr.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit c4e5a14b1c8d2d85476791c519ac7df8b13f02df
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Wed Jun 17 16:17:24 2015 +0200
sw tiled rendering: fix always empty copy&paste format list
Change-Id: I0c6390b54d0e9bb1cad7c30ff24ddb109d88e03b
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx
index ab5b2b9..cdebce3 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) );
}
More information about the Libreoffice-commits
mailing list