summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/viewsh.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 6a0bd51d35f4..beb399352f04 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -2022,11 +2022,11 @@ void SfxViewShell::TakeFrameOwnership_Impl()
pImp->m_bGotFrameOwnership = true;
}
-long SfxViewShell::HandleNotifyEvent_Impl( NotifyEvent& rEvent )
+bool SfxViewShell::HandleNotifyEvent_Impl( NotifyEvent& rEvent )
{
if (pImp->m_pController.is())
- return pImp->m_pController->HandleEvent_Impl( rEvent ) ? 1 : 0;
- return 0;
+ return pImp->m_pController->HandleEvent_Impl( rEvent );
+ return false;
}
sal_Bool SfxViewShell::HasKeyListeners_Impl()