summaryrefslogtreecommitdiff
path: root/include/sot/exchange.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-24 13:55:13 +0200
committerNoel Grandin <noel@peralex.com>2015-02-25 10:34:26 +0200
commitd76ddd19fa37f5494396828b73dfaa2a808defa1 (patch)
tree1cee7ea8fe61f2dccc557e0547557c90f3821841 /include/sot/exchange.hxx
parentfcf339ca5f198529a1eaf70e2ec893f75a843558 (diff)
remove unused EXCHG_SOURCE_ constants
Change-Id: Ic2391f4da06e26ee11a2463d2508b0dccdbf52bd
Diffstat (limited to 'include/sot/exchange.hxx')
-rw-r--r--include/sot/exchange.hxx12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/sot/exchange.hxx b/include/sot/exchange.hxx
index 2f72b61365cd..c4b8746223fb 100644
--- a/include/sot/exchange.hxx
+++ b/include/sot/exchange.hxx
@@ -27,6 +27,7 @@
#include <com/sun/star/datatransfer/dnd/DNDConstants.hpp>
#include <sot/sotdllapi.h>
#include <tools/solar.h>
+#include <o3tl/typed_flags_set.hxx>
class SotDataObject;
@@ -68,15 +69,6 @@ SOT_DLLPUBLIC bool IsFormatSupported( const DataFlavorExVector& rDataFlavorExVec
// further formats (only via CopyData/PasteData)
#define FORMAT_RTF 10
-// source options
-#define EXCHG_SOURCE_MOVEABLE ((sal_uInt16)0x0001)
-#define EXCHG_SOURCE_COPYABLE ((sal_uInt16)0x0002)
-#define EXCHG_SOURCE_LINKABLE ((sal_uInt16)0x0004)
-#define EXCHG_SOURCE_PRINTABLE ((sal_uInt16)0x0008)
-#define EXCHG_SOURCE_DISCARDABLE ((sal_uInt16)0x0010)
-#define EXCHG_SOURCE_ALL ((sal_uInt16)0x001F)
-#define EXCHG_SOURCE_DEF_COPYABLE ((sal_uInt16)0x0020)
-
// actions
#define EXCHG_ACTION_MASK ((sal_uInt16)0x00FF)
#define EXCHG_INOUT_ACTION_NONE ((sal_uInt16)com::sun::star::datatransfer::dnd::DNDConstants::ACTION_NONE)
@@ -169,7 +161,7 @@ public:
const DataFlavorExVector& rDataFlavorExVector,
// destination of an action (EXCHG_DEST_*)
sal_uInt16 nDestination,
- // action for a source (EXCHG_SOURCE_...)
+ // action for a source
sal_uInt16 nSourceOptions,
// user action (EXCHG_IN_*, EXCHG_INOUT_*)
sal_uInt16 nUserAction,