[Libreoffice-commits] .: svx/source
David Tardon
dtardon at kemper.freedesktop.org
Tue Jan 25 06:01:05 PST 2011
svx/source/dialog/imapwnd.cxx | 34 ----------------------------------
1 file changed, 34 deletions(-)
New commits:
commit e8568db2f9b3bc2123222691ca4933c0b493e653
Author: David Tardon <dtardon at redhat.com>
Date: Tue Jan 25 15:00:37 2011 +0100
remove unused code
diff --git a/svx/source/dialog/imapwnd.cxx b/svx/source/dialog/imapwnd.cxx
index 37e0867..69d141a 100644
--- a/svx/source/dialog/imapwnd.cxx
+++ b/svx/source/dialog/imapwnd.cxx
@@ -1002,40 +1002,6 @@ void IMapWindow::CreateDefaultObject()
void IMapWindow::KeyInput( const KeyEvent& rKEvt )
{
- KeyCode aCode = rKEvt.GetKeyCode();
-
-/*
- switch(aCode.GetCode())
- {
- case KEY_ESCAPE:
- {
- if ( pView->IsAction() )
- {
- pView->BrkAction();
- return;
- }
- else if ( pView->AreObjectsMarked() )
- {
- const SdrHdlList& rHdlList = pView->GetHdlList();
- SdrHdl* pHdl = rHdlList.GetFocusHdl();
-
- if(pHdl)
- {
- ((SdrHdlList&)rHdlList).ResetFocusHdl();
- }
- else
- {
- pView->UnmarkAllObj();
- ((Dialog*)GetParent())->GrabFocusToFirstControl();
- }
-
- return;
- }
- }
- break;
-
- }
-*/
GraphCtrl::KeyInput( rKEvt );
}
More information about the Libreoffice-commits
mailing list