summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/unotools.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-07 15:25:20 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-05-11 12:17:42 +0000
commit82d68f9cbce4073a727c43b4a8e81d39871b71eb (patch)
tree64b3a9e1092586afee46899adfd00070821613b8 /sw/source/uibase/utlui/unotools.cxx
parent19ea033f380aa196c9c868a3cdb43e967eb42abe (diff)
convert COMMAND_ constants to scoped enum
Change-Id: I88e67f89dbbab0646e8f106dfeb32c6ee1bb0b95 Reviewed-on: https://gerrit.libreoffice.org/15671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/uibase/utlui/unotools.cxx')
-rw-r--r--sw/source/uibase/utlui/unotools.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx
index d71b4c50fb35..6d870cfabed9 100644
--- a/sw/source/uibase/utlui/unotools.cxx
+++ b/sw/source/uibase/utlui/unotools.cxx
@@ -525,16 +525,16 @@ void SwFrmCtrlWindow::Command( const CommandEvent& rCEvt )
{
switch ( rCEvt.GetCommand() )
{
- case COMMAND_CONTEXTMENU:
+ case CommandEventId::ContextMenu:
{
//#125881# quickly clicking crashes because the control is not fully initialized
if(pExampleFrame->GetController().is())
pExampleFrame->CreatePopup(rCEvt.GetMousePosPixel());
}
break;
- case COMMAND_WHEEL:
- case COMMAND_STARTAUTOSCROLL:
- case COMMAND_AUTOSCROLL:
+ case CommandEventId::Wheel:
+ case CommandEventId::StartAutoScroll:
+ case CommandEventId::AutoScroll:
break;
default:;
}