summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2000-11-28 10:38:17 +0000
committerNiklas Nebel <nn@openoffice.org>2000-11-28 10:38:17 +0000
commit7866d36bb0e6d44cb055b99fe61c5c6c977c7dc1 (patch)
tree64b28b3d121fdf660782a46f2ea7bb636fdacdd1 /sc/source/ui
parent1945140214d6813aafcb536762946d89e84e8970 (diff)
#80627# Command: use InputCommand for ExtText commands
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/view/gridwin.cxx18
1 files changed, 5 insertions, 13 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index e25b0152107a..f474e6f52905 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: gridwin.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: nn $ $Date: 2000-11-15 10:35:49 $
+ * last change: $Author: nn $ $Date: 2000-11-28 11:38:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2120,19 +2120,11 @@ void __EXPORT ScGridWindow::Command( const CommandEvent& rCEvt )
}
}
- if ( !bEditView )
- {
- pScMod->SetInputMode( SC_INPUT_TABLE ); // start cell editing
- }
-
ScInputHandler* pHdl = pScMod->GetInputHdl( pViewData->GetViewShell() );
- if ( pHdl && pViewData->HasEditView( eWhich ) )
+ if ( pHdl )
{
- EditView* pEditView = pViewData->GetEditView( eWhich ); // ist dann nicht 0
- pHdl->DataChanging();
- pEditView->Command( rCEvt );
- pHdl->DataChanged();
- return; // erledigt
+ pHdl->InputCommand( rCEvt, TRUE );
+ return; // done
}
Window::Command( rCEvt );