diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-18 00:18:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-18 00:37:49 +0100 |
commit | 602c87b4259d118e5db6d8a990c4695103f916dd (patch) | |
tree | 1cbc6cf8309b680476f5116cd5320f8f6a99c32a /sd/source | |
parent | 849482c0ea88c4aa70ec56adfefe7e59b6060950 (diff) |
Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationDialog.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx index 809f3a86856c..7c3677d9438b 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -361,7 +361,7 @@ public: ~DropdownMenuBox(); void Resize(); - long PreNotify( NotifyEvent& rNEvt ); + bool PreNotify( NotifyEvent& rNEvt ); void SetMenuSelectHdl( const Link& rLink ) { mpDropdownButton->SetSelectHdl( rLink ); } @@ -411,9 +411,9 @@ void DropdownMenuBox::Resize() // -------------------------------------------------------------------- -long DropdownMenuBox::PreNotify( NotifyEvent& rNEvt ) +bool DropdownMenuBox::PreNotify( NotifyEvent& rNEvt ) { - long nResult=sal_True; + bool nResult = true; sal_uInt16 nSwitch=rNEvt.GetType(); if (nSwitch==EVENT_KEYINPUT) |