diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-26 13:01:46 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-10-27 08:09:35 +0000 |
commit | 7ef698355ad59c6fa263daa4ded124cf512e8926 (patch) | |
tree | c929c4d25b985116192045f213b6beacf43989c2 /extensions | |
parent | sw: fix misleading prefixes of param names in AttrSetHandleHelper (diff) | |
download | core-7ef698355ad59c6fa263daa4ded124cf512e8926.tar.gz core-7ef698355ad59c6fa263daa4ded124cf512e8926.zip |
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 'extensions')
-rw-r--r-- | extensions/source/bibliography/framectr.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index 13763bc8a575..812406335365 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -616,7 +616,7 @@ void BibFrameController_Impl::dispatch(const util::URL& _rURL, const uno::Sequen vcl::Window* pChild = lcl_GetFocusChild( VCLUnoHelper::GetWindow( xWindow ) ); if(pChild) { - KeyEvent aEvent( 0, KEYFUNC_CUT ); + KeyEvent aEvent( 0, KeyFuncType::CUT ); pChild->KeyInput( aEvent ); } } @@ -625,7 +625,7 @@ void BibFrameController_Impl::dispatch(const util::URL& _rURL, const uno::Sequen vcl::Window* pChild = lcl_GetFocusChild( VCLUnoHelper::GetWindow( xWindow ) ); if(pChild) { - KeyEvent aEvent( 0, KEYFUNC_COPY ); + KeyEvent aEvent( 0, KeyFuncType::COPY ); pChild->KeyInput( aEvent ); } } @@ -634,7 +634,7 @@ void BibFrameController_Impl::dispatch(const util::URL& _rURL, const uno::Sequen vcl::Window* pChild = lcl_GetFocusChild( VCLUnoHelper::GetWindow( xWindow ) ); if(pChild) { - KeyEvent aEvent( 0, KEYFUNC_PASTE ); + KeyEvent aEvent( 0, KeyFuncType::PASTE ); pChild->KeyInput( aEvent ); } } |