summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/bastypes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/bastypes.cxx')
-rw-r--r--basctl/source/basicide/bastypes.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index b175f219e5bd..da1cac7e2a08 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -121,9 +121,9 @@ void BaseWindow::ExecuteGlobal (SfxRequest&)
{ }
-long BaseWindow::Notify( NotifyEvent& rNEvt )
+bool BaseWindow::Notify( NotifyEvent& rNEvt )
{
- long nDone = 0;
+ bool nDone = false;
if ( rNEvt.GetType() == EVENT_KEYINPUT )
{
@@ -140,14 +140,14 @@ long BaseWindow::Notify( NotifyEvent& rNEvt )
{
if (Shell* pShell = GetShell())
pShell->NextPage( nCode == KEY_PAGEUP );
- nDone = 1;
+ nDone = true;
}
}
break;
}
}
- return nDone ? nDone : Window::Notify( rNEvt );
+ return nDone || Window::Notify( rNEvt );
}