From 485d29d0716213a20198bbf2a5e5084505ea6c79 Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Fri, 25 Jul 2014 13:17:13 +0200 Subject: Remove temporaries and constify Change-Id: I632a8b58ecff17fbc172335cb1186c822edc2827 --- sw/source/uibase/table/chartins.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sw/source/uibase/table') diff --git a/sw/source/uibase/table/chartins.cxx b/sw/source/uibase/table/chartins.cxx index 9750d2e178f7..7116378d4092 100644 --- a/sw/source/uibase/table/chartins.cxx +++ b/sw/source/uibase/table/chartins.cxx @@ -247,8 +247,7 @@ void SwInsertChart(Window* pParent, SfxBindings* pBindings ) void AutoEdit::KeyInput( const KeyEvent& rEvt ) { - sal_uInt16 nCode = rEvt.GetKeyCode().GetCode(); - if( nCode != KEY_SPACE ) + if( rEvt.GetKeyCode().GetCode() != KEY_SPACE ) Edit::KeyInput( rEvt ); } -- cgit