diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-10 19:06:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-10 19:44:02 +0200 |
commit | bf86a7a44900a52f8cbfed71d5cf8b32a4852d20 (patch) | |
tree | 6a646bb4e649f7ea009a9138ea19089d9b794da9 /sw/source/uibase | |
parent | pct import: Unit test for the clipping import fix. (diff) | |
download | core-bf86a7a44900a52f8cbfed71d5cf8b32a4852d20.tar.gz core-bf86a7a44900a52f8cbfed71d5cf8b32a4852d20.zip |
-Werror,-Wundefined-bool-conversion
Change-Id: I52d9ae4daf8e4f904f18b150a4adaad9d2921e61
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/utlui/content.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index d55b4980a2be..0a838e8e13fe 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -2737,13 +2737,9 @@ void SwContentTree::KeyInput(const KeyEvent& rEvent) { SwEditWin& pEditWindow = pActiveShell->GetView().GetEditWin(); - if( &pEditWindow ) - { - KeyCode tempKeycode( KEY_ESCAPE ); - KeyEvent rKEvt( 0 , tempKeycode ); - ((Window*)&pEditWindow)->KeyInput( rKEvt ); - - } + KeyCode tempKeycode( KEY_ESCAPE ); + KeyEvent rKEvt( 0 , tempKeycode ); + ((Window*)&pEditWindow)->KeyInput( rKEvt ); //rView.GetEditWin().GrabFocus(); } } |