summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-26 11:20:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-27 13:54:09 +0100
commit1fb4a211983e120a330ebfe32c23cd617df0bead (patch)
treed05deff5129aeeec1844e6106ea7ca0537004cc2 /include/svtools
parentfb56de2ef744583a07ec02476fc9bc75c525e863 (diff)
remove unused SvxIconViewFlags enum values
Change-Id: I31f810383fb92b2d0dbe9fa9162b77f137154e91 Reviewed-on: https://gerrit.libreoffice.org/64085 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/ivctrl.hxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx
index 531cc86bc251..ccdadaf7dee1 100644
--- a/include/svtools/ivctrl.hxx
+++ b/include/svtools/ivctrl.hxx
@@ -40,15 +40,12 @@ enum class SvxIconViewFlags
POS_LOCKED = 0x0001,
SELECTED = 0x0002,
FOCUSED = 0x0004,
- CURSORED = 0x0010, // Border around image
- POS_MOVED = 0x0020, // Moved by Drag and Drop, but not logged
- DROP_TARGET = 0x0040, // Set in QueryDrop
- BLOCK_EMPHASIS = 0x0080, // Do not paint Emphasis
- PRED_SET = 0x0400, // Predecessor moved
+ POS_MOVED = 0x0008, // Moved by Drag and Drop, but not logged
+ PRED_SET = 0x0010, // Predecessor moved
};
namespace o3tl
{
- template<> struct typed_flags<SvxIconViewFlags> : is_typed_flags<SvxIconViewFlags, 0x04f7> {};
+ template<> struct typed_flags<SvxIconViewFlags> : is_typed_flags<SvxIconViewFlags, 0x001f> {};
}
enum class SvxIconChoiceCtrlTextMode
@@ -129,9 +126,6 @@ public:
SvxIconViewFlags GetFlags() const { return nFlags; }
bool IsSelected() const { return bool(nFlags & SvxIconViewFlags::SELECTED); }
bool IsFocused() const { return bool(nFlags & SvxIconViewFlags::FOCUSED); }
- bool IsCursored() const { return bool(nFlags & SvxIconViewFlags::CURSORED); }
- bool IsDropTarget() const { return bool(nFlags & SvxIconViewFlags::DROP_TARGET); }
- bool IsBlockingEmphasis() const { return bool(nFlags & SvxIconViewFlags::BLOCK_EMPHASIS); }
bool IsPosLocked() const { return bool(nFlags & SvxIconViewFlags::POS_LOCKED); }
};