diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fuformatpaintbrush.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fuformatpaintbrush.cxx b/sd/source/ui/func/fuformatpaintbrush.cxx index 8c6ff03dbadb..6ffcbbd3ef41 100644 --- a/sd/source/ui/func/fuformatpaintbrush.cxx +++ b/sd/source/ui/func/fuformatpaintbrush.cxx @@ -204,7 +204,7 @@ bool FuFormatPaintBrush::MouseButtonUp(const MouseEvent& rMEvt) bool FuFormatPaintBrush::KeyInput(const KeyEvent& rKEvt) { - if( (rKEvt.GetKeyCode().GetCode() == KEY_ESCAPE) && mpViewShell ) + if (rKEvt.GetKeyCode().GetCode() == KEY_ESCAPE) { implcancel(); return true; |