summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/backingwindow.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-17 16:40:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-17 16:42:29 +0100
commit04683f14883f4cd64febadd71b327639f1e7edcc (patch)
treed1195eec7abc45fcf3b28776278f3856638a4a32 /sfx2/source/dialog/backingwindow.cxx
parent734cf8395d745db73f52fd6d625d7deb77ba6d40 (diff)
Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
Diffstat (limited to 'sfx2/source/dialog/backingwindow.cxx')
-rw-r--r--sfx2/source/dialog/backingwindow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 8744b0789a8a..988a4a349fb9 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -305,7 +305,7 @@ void BackingWindow::Paint( const Rectangle& )
aDev );
}
-long BackingWindow::Notify( NotifyEvent& rNEvt )
+bool BackingWindow::Notify( NotifyEvent& rNEvt )
{
if( rNEvt.GetType() == EVENT_KEYINPUT )
{
@@ -319,7 +319,7 @@ long BackingWindow::Notify( NotifyEvent& rNEvt )
const KeyEvent* pEvt = rNEvt.GetKeyEvent();
const KeyCode& rKeyCode(pEvt->GetKeyCode());
if( pEvt && mpAccExec->execute(rKeyCode) )
- return 1;
+ return true;
}
return Window::Notify( rNEvt );