summaryrefslogtreecommitdiff
path: root/svtools/source/control/valueset.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control/valueset.cxx')
-rw-r--r--svtools/source/control/valueset.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index 8d36028c636d..28bee3593a83 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -1410,9 +1410,9 @@ void ValueSet::KeyInput( const KeyEvent& rKeyEvent )
void ValueSet::Command( const CommandEvent& rCommandEvent )
{
- if ( rCommandEvent.GetCommand() == COMMAND_WHEEL ||
- rCommandEvent.GetCommand() == COMMAND_STARTAUTOSCROLL ||
- rCommandEvent.GetCommand() == COMMAND_AUTOSCROLL )
+ if ( rCommandEvent.GetCommand() == CommandEventId::Wheel ||
+ rCommandEvent.GetCommand() == CommandEventId::StartAutoScroll ||
+ rCommandEvent.GetCommand() == CommandEventId::AutoScroll )
{
if ( HandleScrollCommand( rCommandEvent, NULL, mxScrollBar.get() ) )
return;
@@ -2119,7 +2119,7 @@ void ValueSet::SetFormat(bool bFormat)
bool ValueSet::StartDrag( const CommandEvent& rEvent, vcl::Region& rRegion )
{
- if ( rEvent.GetCommand() != COMMAND_STARTDRAG )
+ if ( rEvent.GetCommand() != CommandEventId::StartDrag )
return false;
// if necessary abort an existing action