summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sfx2/viewsh.hxx2
-rw-r--r--sfx2/source/view/viewsh.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx
index ae22a37b119a..f87ddd3f6c49 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -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();
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()