summaryrefslogtreecommitdiff
path: root/sw/source/uibase/table
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-07-25 13:17:13 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-07-26 14:25:31 +0200
commit485d29d0716213a20198bbf2a5e5084505ea6c79 (patch)
tree6d9363654b4b82959e08dd63b4580961c909bc98 /sw/source/uibase/table
parent6483ed12cea9e268834fe4343007caafdc7f0d0c (diff)
Remove temporaries and constify
Change-Id: I632a8b58ecff17fbc172335cb1186c822edc2827
Diffstat (limited to 'sw/source/uibase/table')
-rw-r--r--sw/source/uibase/table/chartins.cxx3
1 files changed, 1 insertions, 2 deletions
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 );
}