[Libreoffice-commits] core.git: include/vcl
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Sat Apr 25 08:20:13 UTC 2020
include/vcl/treelistbox.hxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 38994bca0f85c6c88d81bd972c8838a9368a3acd
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Sat Apr 25 08:50:00 2020 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Apr 25 10:19:39 2020 +0200
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 at collabora.co.uk>
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
More information about the Libreoffice-commits
mailing list