From 30ae83c268125383866d47a7ee3e4a5dfcf59f71 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 23 Aug 2014 22:22:32 +0300 Subject: fdo#82577: Handle KeyCode Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11 KeyCode typedef. Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028 --- svtools/source/toolpanel/toolpaneldeck.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools/source/toolpanel/toolpaneldeck.cxx') diff --git a/svtools/source/toolpanel/toolpaneldeck.cxx b/svtools/source/toolpanel/toolpaneldeck.cxx index 1cce8c97e1ad..272a0d7d0f4b 100644 --- a/svtools/source/toolpanel/toolpaneldeck.cxx +++ b/svtools/source/toolpanel/toolpaneldeck.cxx @@ -450,7 +450,7 @@ namespace svt if ( i_rNotifyEvent.GetType() == EVENT_KEYINPUT ) { const KeyEvent* pEvent = i_rNotifyEvent.GetKeyEvent(); - const KeyCode& rKeyCode = pEvent->GetKeyCode(); + const vcl::KeyCode& rKeyCode = pEvent->GetKeyCode(); if ( rKeyCode.GetModifier() == KEY_MOD1 ) { bHandled = true; -- cgit