summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-01-31 17:34:03 +0000
committerKurt Zenker <kz@openoffice.org>2006-01-31 17:34:03 +0000
commit95037d24ec0d6a261d22ca32d156eb0d6aefcadd (patch)
treeb6cfc8e5d95a3187d1b2ae929db2d0297d8d3e8f /starmath/source/view.cxx
parentb6dce222833cb8a221d7fcbb42c469a8f149b36f (diff)
INTEGRATION: CWS tl17 (1.39.38); FILE MERGED
2006/01/06 07:25:45 tl 1.39.38.1: #127959# replaced all calls to SfxViewShell::Current with the respective GetView() calls
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r--starmath/source/view.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index b0b7c4bfd18a..a00638a67cc3 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: view.cxx,v $
*
- * $Revision: 1.39 $
+ * $Revision: 1.40 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 15:15:29 $
+ * last change: $Author: kz $ $Date: 2006-01-31 18:34:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -412,8 +412,7 @@ void SmGraphicWindow::SetTotalSize ()
void SmGraphicWindow::KeyInput(const KeyEvent& rKEvt)
{
- if (! (SfxViewShell::Current() &&
- SfxViewShell::Current()->KeyInput(rKEvt)))
+ if (! (GetView() && GetView()->KeyInput(rKEvt)) )
ScrollableWindow::KeyInput(rKEvt);
}