summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 15:06:29 +0200
committerNoel Grandin <noel@peralex.com>2014-03-18 11:27:39 +0200
commit86725da2a2a0a7ae34f600b53976b72b7d456c9f (patch)
tree4930b5c773797e6ac5167733e1bbe25d294d8070 /sfx2
parentb466b6f2575b4bf55f84b96d3795260901544209 (diff)
fix return type of SfxViewShell::HandleNotifyEvent_Impl to be bool
it was long, but it was treated as a bool. Change-Id: I097ab5f9dff511781a9711594754ae34f25a37bc
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()