summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-31 07:26:39 +0200
committerNoel Grandin <noel@peralex.com>2014-10-31 07:28:06 +0200
commit72ce1368b504804529bbcdc14484e9abb2ffa398 (patch)
tree36381873f229041592c11ec8564edc60e0fc3ec3 /sfx2/source
parent7eb519e92b4b50546f222e8d0219b21af8e6ea18 (diff)
convert COMMAND_WHEEL constants to an enum
Change-Id: I413d821a984ab556bd19c52704c04de6d828f699
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/sidebar/Deck.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx
index f294a1a1644b..6e2f3919ffc1 100644
--- a/sfx2/source/sidebar/Deck.cxx
+++ b/sfx2/source/sidebar/Deck.cxx
@@ -219,7 +219,7 @@ bool Deck::ProcessWheelEvent(CommandEvent* pCommandEvent)
const CommandWheelData* pData = pCommandEvent->GetWheelData();
if (pData==NULL
|| pData->GetModifier()
- || pData->GetMode() != COMMAND_WHEEL_SCROLL
+ || pData->GetMode() != CommandWheelMode::SCROLL
|| pData->IsHorz())
return false;