summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-26 13:01:46 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-10-27 08:09:35 +0000
commit7ef698355ad59c6fa263daa4ded124cf512e8926 (patch)
treec929c4d25b985116192045f213b6beacf43989c2 /starmath
parent608396721edcdfce8a325026844fd2fab72bbb73 (diff)
fdo#84938: replace KEYTYPE_ constants with enum
Change-Id: I563cf96f8ca815d6c8ad9f5fe365fc7ce7a2a328 Reviewed-on: https://gerrit.libreoffice.org/12104 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/view.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 6261019fb31e..e77f20933cc1 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -435,11 +435,11 @@ void SmGraphicWindow::KeyInput(const KeyEvent& rKEvt)
SmCursor& rCursor = pViewShell->GetDoc()->GetCursor();
KeyFuncType eFunc = rKEvt.GetKeyCode().GetFunction();
- if (eFunc == KEYFUNC_COPY)
+ if (eFunc == KeyFuncType::COPY)
rCursor.Copy();
- else if (eFunc == KEYFUNC_CUT)
+ else if (eFunc == KeyFuncType::CUT)
rCursor.Cut();
- else if (eFunc == KEYFUNC_PASTE)
+ else if (eFunc == KeyFuncType::PASTE)
rCursor.Paste();
else {
sal_uInt16 nCode = rKEvt.GetKeyCode().GetCode();