diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-11 10:37:46 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-12 06:57:04 +0000 |
commit | 0f4ac20e0456b32995f7a3aff4e46b59e64704a6 (patch) | |
tree | ac4a2e26907013b29ea1f87cc6757290c2d6de34 /sd/source/ui/view | |
parent | e1efe3359c5105f1347ab7527aeff109e62b7e3f (diff) |
Convert RulerType to scoped enum
Change-Id: I2233b70e5413bfa3156011e1b3306d539003795b
Reviewed-on: https://gerrit.libreoffice.org/24879
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/sdruler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/sdruler.cxx b/sd/source/ui/view/sdruler.cxx index 5f3bebf255c5..19efdac3cf02 100644 --- a/sd/source/ui/view/sdruler.cxx +++ b/sd/source/ui/view/sdruler.cxx @@ -111,7 +111,7 @@ void Ruler::MouseButtonDown(const MouseEvent& rMEvt) if ( !pDrViewShell->GetView()->IsTextEdit() && rMEvt.IsLeft() && rMEvt.GetClicks() == 1 && - (eType == RULER_TYPE_DONTKNOW || eType == RULER_TYPE_OUTSIDE) ) + (eType == RulerType::DontKnow || eType == RulerType::Outside) ) { pDrViewShell->StartRulerDrag(*this, rMEvt); } |