summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2001-08-13 11:59:00 +0000
committerKai Ahrens <ka@openoffice.org>2001-08-13 11:59:00 +0000
commita1fab854667575343b7d85f39a310632b5039313 (patch)
tree2f4a766a356ccbaf00e2fe06c57747aacbce7fbe
parent6590f8f71bb53dd6be9e5420d955ee742ba8d77e (diff)
#90911#: start drag actions with DND_ACTION_COPY only (DND_ACTION_MOVE removed)
-rw-r--r--svx/source/gallery2/galbrws2.cxx6
-rw-r--r--svx/source/gallery2/galctrl.cxx6
-rw-r--r--svx/source/gallery2/galtheme.cxx6
3 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx
index 6c849dda683b..faa1d2d79b39 100644
--- a/svx/source/gallery2/galbrws2.cxx
+++ b/svx/source/gallery2/galbrws2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: galbrws2.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: ka $ $Date: 2001-08-06 12:45:37 $
+ * last change: $Author: ka $ $Date: 2001-08-13 12:59:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -430,7 +430,7 @@ sal_Int8 GalleryBrowser2::AcceptDrop( DropTargetHelper& rTarget, const AcceptDro
}
}
else
- nRet = DND_ACTION_MOVE;
+ nRet = DND_ACTION_COPY;
}
return nRet;
diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx
index a9ab0168acce..57ab525b8eb3 100644
--- a/svx/source/gallery2/galctrl.cxx
+++ b/svx/source/gallery2/galctrl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: galctrl.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: ka $ $Date: 2001-07-30 13:05:20 $
+ * last change: $Author: ka $ $Date: 2001-08-13 12:59:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -545,7 +545,7 @@ sal_Int8 GalleryListView::AcceptDrop( const BrowserAcceptDropEvent& rEvt )
if( !mpTheme->IsDragging() )
nRet = DND_ACTION_COPY;
else
- nRet = DND_ACTION_MOVE;
+ nRet = DND_ACTION_COPY;
}
return nRet;
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx
index 4dbba5d5f554..21969f4a45bf 100644
--- a/svx/source/gallery2/galtheme.cxx
+++ b/svx/source/gallery2/galtheme.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: galtheme.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: ka $ $Date: 2001-07-30 13:07:02 $
+ * last change: $Author: ka $ $Date: 2001-08-13 12:59:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1240,7 +1240,7 @@ void GalleryTheme::CopyToClipboard( Window* pWindow, ULONG nPos )
void GalleryTheme::StartDrag( Window* pWindow, ULONG nPos )
{
GalleryTransferable* pTransferable = new GalleryTransferable( this, nPos );
- pTransferable->StartDrag( pWindow, DND_ACTION_COPYMOVE | DND_ACTION_LINK );
+ pTransferable->StartDrag( pWindow, DND_ACTION_COPY | DND_ACTION_LINK );
}
// -----------------------------------------------------------------------------