summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/app/AppView.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-18 00:18:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-18 00:37:49 +0100
commit602c87b4259d118e5db6d8a990c4695103f916dd (patch)
tree1cbc6cf8309b680476f5116cd5320f8f6a99c32a /dbaccess/source/ui/app/AppView.cxx
parent849482c0ea88c4aa70ec56adfefe7e59b6060950 (diff)
Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
Diffstat (limited to 'dbaccess/source/ui/app/AppView.cxx')
-rw-r--r--dbaccess/source/ui/app/AppView.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/app/AppView.cxx b/dbaccess/source/ui/app/AppView.cxx
index f9dac6a931ab..6083b2ea4657 100644
--- a/dbaccess/source/ui/app/AppView.cxx
+++ b/dbaccess/source/ui/app/AppView.cxx
@@ -274,7 +274,7 @@ void OApplicationView::resizeDocumentView(Rectangle& _rPlayground)
_rPlayground.SetSize( Size( 0, 0 ) );
}
-long OApplicationView::PreNotify( NotifyEvent& rNEvt )
+bool OApplicationView::PreNotify( NotifyEvent& rNEvt )
{
switch(rNEvt.GetType())
{
@@ -292,11 +292,11 @@ long OApplicationView::PreNotify( NotifyEvent& rNEvt )
// give the pane the chance to intercept mnemonic accelerators
// #i34790#
if ( getPanel() && getPanel()->interceptKeyInput( *pKeyEvent ) )
- return 1L;
+ return true;
// and ditto the detail view
// #i72799#
if ( getDetailView() && getDetailView()->interceptKeyInput( *pKeyEvent ) )
- return 1L;
+ return true;
}
break;
}