Avoid indirection.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31521 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-10-04 21:23:22 +00:00
parent 3890ee964e
commit b34763a4c8

View File

@ -1172,7 +1172,7 @@ void GuiApplication::processKeySym(KeySymbol const & keysym, KeyModifier state)
{ {
LYXERR(Debug::KEY, "KeySym is " << keysym.getSymbolName()); LYXERR(Debug::KEY, "KeySym is " << keysym.getSymbolName());
LyXView * lv = theApp()->currentWindow(); GuiView * lv = currentView();
// Do nothing if we have nothing (JMarc) // Do nothing if we have nothing (JMarc)
if (!keysym.isOK()) { if (!keysym.isOK()) {