summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorGokul <gokul.cdac@gmail.com>2012-07-10 14:04:22 +0300
committerMiklos Vajna <vmiklos@suse.cz>2012-07-13 09:39:17 +0200
commit28d3e647ada2876b7463993d305fa2e8c44dce48 (patch)
treed20a08003eb096b1f8b30c169dcde837f1c3a8a3 /filter
parent0234b73de28098fc1cd37b55471ef924d2b584cc (diff)
Added ctrl+w for closing XML FILTER SETTING tool in DRAW
Change-Id: I37cee7027f674003ad4a600a4a36fc1a9eec2dc3
Diffstat (limited to 'filter')
-rw-r--r--filter/source/xsltdialog/xmlfiltersettingsdialog.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
index 252c4194bf84..2e9e558cbfb9 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
@@ -1046,8 +1046,9 @@ long XMLFilterSettingsDialog::Notify( NotifyEvent& rNEvt )
const KeyEvent* pKEvt = rNEvt.GetKeyEvent();
KeyCode aKeyCode = pKEvt->GetKeyCode();
sal_uInt16 nKeyCode = aKeyCode.GetCode();
+ sal_Bool bMod1 = pKEvt->GetKeyCode().IsMod1();
- if( nKeyCode == KEY_ESCAPE )
+ if( nKeyCode == KEY_ESCAPE || (bMod1 && (nKeyCode == KEY_W)))
{
Close();
return sal_True;