Kaydet (Commit) 86725da2 authored tarafından Noel Grandin's avatar Noel Grandin

fix return type of SfxViewShell::HandleNotifyEvent_Impl to be bool

it was long, but it was treated as a bool.

Change-Id: I097ab5f9dff511781a9711594754ae34f25a37bc
üst b466b6f2
......@@ -276,7 +276,7 @@ public:
SAL_DLLPRIVATE SfxPrinter* SetPrinter_Impl( SfxPrinter *pNewPrinter );
SAL_DLLPRIVATE sal_Bool IsShowView_Impl() const;
SAL_DLLPRIVATE long HandleNotifyEvent_Impl( NotifyEvent& rEvent );
SAL_DLLPRIVATE bool HandleNotifyEvent_Impl( NotifyEvent& rEvent );
SAL_DLLPRIVATE sal_Bool HasKeyListeners_Impl();
SAL_DLLPRIVATE sal_Bool HasMouseClickListeners_Impl();
......
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment