summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-25 08:50:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-25 10:19:39 +0200
commit38994bca0f85c6c88d81bd972c8838a9368a3acd (patch)
tree86bccc5da3e7f38b94433367d01e2021df035970 /include
parent8b733f949aeccc9e04aa661d83927872530eb570 (diff)
fix DragDropMode:ALL constant
after commit ccf40c0efcc371e3d5818df20af18bc10c3601bd loplugin:unusedenumconstants DragDropMode and simplify the constants Change-Id: I3355cdc02c4ce6eed67d905d3a4dbed149e39706 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92887 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/treelistbox.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx
index 98de69aa0833..c0ae9c5c85fb 100644
--- a/include/vcl/treelistbox.hxx
+++ b/include/vcl/treelistbox.hxx
@@ -149,15 +149,15 @@ enum class DragDropMode
NONE = 0x0000,
CTRL_MOVE = 0x0001,
CTRL_COPY = 0x0002,
- APP_COPY = 0x0008,
+ APP_COPY = 0x0004,
// Entries may be dropped via the uppermost Entry
// The DropTarget is 0 in that case
- ENABLE_TOP = 0x0020,
- ALL = 0x003f,
+ ENABLE_TOP = 0x0010,
+ ALL = 0x0017,
};
namespace o3tl
{
- template<> struct typed_flags<DragDropMode> : is_typed_flags<DragDropMode, 0x003b> {};
+ template<> struct typed_flags<DragDropMode> : is_typed_flags<DragDropMode, 0x0017> {};
}
enum class SvTreeListBoxFlags