summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/content.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/utlui/content.cxx')
-rw-r--r--sw/source/uibase/utlui/content.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index eb2889cc7a8c..87bf12066949 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -2592,7 +2592,7 @@ void SwContentTree::GetFocus()
void SwContentTree::KeyInput(const KeyEvent& rEvent)
{
- const KeyCode aCode = rEvent.GetKeyCode();
+ const vcl::KeyCode aCode = rEvent.GetKeyCode();
if(aCode.GetCode() == KEY_RETURN)
{
SvTreeListEntry* pEntry = FirstSelected();
@@ -2729,7 +2729,7 @@ void SwContentTree::KeyInput(const KeyEvent& rEvent)
{
SwEditWin& pEditWindow =
pActiveShell->GetView().GetEditWin();
- KeyCode tempKeycode( KEY_ESCAPE );
+ vcl::KeyCode tempKeycode( KEY_ESCAPE );
KeyEvent rKEvt( 0 , tempKeycode );
((Window*)&pEditWindow)->KeyInput( rKEvt );
//rView.GetEditWin().GrabFocus();