diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-01 16:49:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-07 11:20:43 +0200 |
commit | 8aa3cb98adb8675ff3f09d2c1da35d2423e57493 (patch) | |
tree | 3e7f2df75f1176a64034be8c7de592dc92996054 /editeng | |
parent | fa52e2090651fc2b2f3ba77b8f0af196d705730f (diff) |
fdo#84938: convert VCL_INPUT_ #defines to 'enum class'
Change-Id: I155e45f58974a2b946c4a7703b350bcbfbad342e
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editeng.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx index 1208536e3c9e..32b9adea417a 100644 --- a/editeng/source/editeng/editeng.cxx +++ b/editeng/source/editeng/editeng.cxx @@ -1382,7 +1382,7 @@ bool EditEngine::PostKeyEvent( const KeyEvent& rKeyEvent, EditView* pEditView, v DBG_ASSERT( !bReadOnly, "ReadOnly but modified???" ); // Idle-Formatter only when AnyInput. if ( bAllowIdle && pImpEditEngine->GetStatus().UseIdleFormatter() - && Application::AnyInput( VCL_INPUT_KEYBOARD) ) + && Application::AnyInput( VclInputFlags::KEYBOARD) ) pImpEditEngine->IdleFormatAndUpdate( pEditView ); else pImpEditEngine->FormatAndUpdate( pEditView ); diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 39db002f1e85..055b198a11de 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -309,7 +309,7 @@ void ImpEditEngine::UpdateViews( EditView* pCurView ) IMPL_LINK_NOARG(ImpEditEngine, OnlineSpellHdl) { - if ( !Application::AnyInput( VCL_INPUT_KEYBOARD ) && GetUpdateMode() && IsFormatted() ) + if ( !Application::AnyInput( VclInputFlags::KEYBOARD ) && GetUpdateMode() && IsFormatted() ) DoOnlineSpelling(); else aOnlineSpellIdle.Start(); |