summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/Deck.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/Deck.cxx')
-rw-r--r--sfx2/source/sidebar/Deck.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx
index 3d0f43c0fecf..0df23ae41b98 100644
--- a/sfx2/source/sidebar/Deck.cxx
+++ b/sfx2/source/sidebar/Deck.cxx
@@ -197,7 +197,7 @@ void Deck::DataChanged (const DataChangedEvent& rEvent)
-long Deck::Notify (NotifyEvent& rEvent)
+bool Deck::Notify (NotifyEvent& rEvent)
{
if (rEvent.GetType() == EVENT_COMMAND)
{
@@ -206,9 +206,7 @@ long Deck::Notify (NotifyEvent& rEvent)
switch (pCommandEvent->GetCommand())
{
case COMMAND_WHEEL:
- return ProcessWheelEvent(pCommandEvent, rEvent)
- ? sal_True
- : sal_False;
+ return ProcessWheelEvent(pCommandEvent, rEvent);
default:
break;