summaryrefslogtreecommitdiff
path: root/svtools/source/control/fmtfield.cxx
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 /svtools/source/control/fmtfield.cxx
parent7eb519e92b4b50546f222e8d0219b21af8e6ea18 (diff)
convert COMMAND_WHEEL constants to an enum
Change-Id: I413d821a984ab556bd19c52704c04de6d828f699
Diffstat (limited to 'svtools/source/control/fmtfield.cxx')
-rw-r--r--svtools/source/control/fmtfield.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx
index edb8ad31aac5..c000833db7a1 100644
--- a/svtools/source/control/fmtfield.cxx
+++ b/svtools/source/control/fmtfield.cxx
@@ -788,7 +788,7 @@ bool FormattedField::Notify(NotifyEvent& rNEvt)
if (pCommand->GetCommand() == COMMAND_WHEEL)
{
const CommandWheelData* pData = rNEvt.GetCommandEvent()->GetWheelData();
- if ((pData->GetMode() == COMMAND_WHEEL_SCROLL) && ImplGetFormatter()->IsTextFormat(m_nFormatKey))
+ if ((pData->GetMode() == CommandWheelMode::SCROLL) && ImplGetFormatter()->IsTextFormat(m_nFormatKey))
{
// same as above : prevent the base class from doing Up/Down-calls
// (normally I should put this test into the Up/Down methods itself, shouldn't I ?)